"hg pull" vs "hg unbundle"

Pierre-Yves David pierre-yves.david at logilab.fr
Fri Feb 24 18:07:43 UTC 2012


As highlighted in this issue3266 [1] bundle are not aware of phase. As a
result:


    `hg pull` threats them as public repo --> content is public

    `hg unbundle` threats them as bundle --> content as draft


Question 1:-

    Are we ok with `hg pull X.hg` doing something else than `hg unbundle X.hg`?

Question 2:

    If we are ok question 1, shall we warn the user on pull?

Question 3:

    How shall we handle phase transfert in the delayed pull usecase?

    $ hg incoming --bundle X.hg
    $ hg (pull|unbundle) X.hg

Question 4:

    Is there any room for phase is in incoming new bundle format?


-- 
Pierre-Yves David

http://www.logilab.fr/


PS: There is a real bug on bundle repo I'll try to fix soon

[1] http://mercurial.selenic.com/bts/issue3266


-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 198 bytes
Desc: Digital signature
URL: <http://lists.mercurial-scm.org/pipermail/mercurial-devel/attachments/20120224/0ed78a0b/attachment.asc>


More information about the Mercurial-devel mailing list