March 8, 2010
Inspect Mercurial Bundles

The Mercurial DSCCM system has the ability to create, read and apply “bundles”. Bundles are files containing compressed Mercurial changesets (including any binary content). Bundles are useful for transferring changesets between disconnected, or intermittently connected repositories.

Often, it’s a good idea to inspect the bundle contents before unbundling. Mercurial treats a bundle as a repository in and of itself, and therefore it’s possible to see the log entries in a bundle thusly:

hg -R ~/path/to_bundle.hg outgoing

When executed from within a working copy, the command will show a summary of the changesets contained within the bundle, but not contained in the working copy.

11:00pm  |   URL: http://tmblr.co/ZDaFtx2agkIw
  
Filed under: mercurial dsccm 
Liked posts on Tumblr: More liked posts »