Differences between revisions 5 and 6
Revision 5 as of 2008-12-07 19:31:39
Size: 647
Editor: JoelRosdahl
Comment:
Revision 6 as of 2009-05-19 19:31:05
Size: 650
Editor: localhost
Comment: converted to 1.6 markup
Deletions are marked like this. Additions are marked like this.
Line 3: Line 3:
[:Bundle] files may contain either all or some of the [:ChangeSet:changesets] in a [:Repository:repository]. To view a partial bundle, you must have a repository containing [[Bundle]] files may contain either all or some of the [[ChangeSet|changesets]] in a [[Repository|repository]]. To view a partial bundle, you must have a repository containing

Looking into bundle files

Bundle files may contain either all or some of the changesets in a repository. To view a partial bundle, you must have a repository containing the bundle's base changesets. Then you can overlay the bundle on top of the repo like so:

$ cd repo
$ hg in bundle.hg # view the changesets added by the bundle
$ hg -R bundle.hg log # view the log of repo+bundle
$ hg -R bundle.hg diff -r tip # [DOESN'T WORK in Mercurial 1.1] compare the working dir to the bundle's tip
$ hg -R bundle.hg cat -r tip foo.txt # extract a particular file


CategoryTipsAndTricks

LookingIntoBundles (last edited 2012-11-06 22:46:20 by abuehl)