bundle/unbundle

TK Soh teekaysoh at yahoo.com
Sun Sep 11 19:01:43 CDT 2005


--- Matt Mackall <mpm at selenic.com> wrote:
> 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.

They might have a chance to fit into incoming/outgoing, perhap by adding a
--bundle option:

    $ hg out --bundle FILE DEST
    $ hg in --bundle FILE

Just an idea.

__________________________________________________
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 


More information about the Mercurial mailing list