Decompressing Bundle

Martin Geisler martin at geisler.net
Mon Aug 11 07:26:17 CDT 2014


anatoly techtonik <techtonik at gmail.com> writes:

> Hi,
>
> It would be nice to get ability to decompress .bundle
> file to review changes before importing them to repo.
>
> $ hg unbundle --decompress <file>

You can use 'hg incoming' to check what unbundle or pull will bring into
the repository.

If you need to look at the changesets more carefully, then you can
overlay the bundle on the current repository with the -R flag and use
all the normal commands. Like this:

  $ hg -R my-bundle.hg log -r 100:110
  $ hg -R my-bundle.hg diff some-file -r 105:110

The commits in the bundle appear "at the end" of the repository, just as
if you had actually executed the pull or unbundle.

-- 
Martin Geisler

http://google.com/+MartinGeisler
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 818 bytes
Desc: not available
URL: <http://selenic.com/pipermail/mercurial-devel/attachments/20140811/c74cee0e/attachment.pgp>


More information about the Mercurial-devel mailing list