bundle/unbundle

Matt Mackall mpm at selenic.com
Fri Sep 9 11:55:10 CDT 2005


On Fri, Sep 09, 2005 at 01:50:41PM +0200, Jan Hudec wrote:
> On Thu, Sep 08, 2005 at 01:40:11 -0700, Matt Mackall wrote:
> > I've just added preliminary support for bundle and unbundle. They work
> > like this:
> > 
> > $ hg bundle changes.hg ../other-repo
> > $ cd ../repo
> > $ hg unbundle ../changes.hg
> > adding changesets
> > adding manifests
> > adding file changes
> > added 5 changesets with 8 changes to 6 files
> 
> Just out of curiosity. Why did you add another 2 commands instead of options
> to pull/push as per discussion on the list a few days back? It would be
> logical and not extend the already long list of commands.

Because the plan is to support:

hg bundle -r 10:20 changes.hg
hg unbundle changes.hg

And these look and behave completely unlike push/pull.

-- 
Mathematics is the supreme nostalgia of our time.


More information about the Mercurial mailing list