[PATCH 0 of 6 phases] Secret changeset

Pierre-Yves David pierre-yves.david at logilab.fr
Mon Dec 19 05:34:24 CST 2011


On Mon, Dec 19, 2011 at 12:23:13PM +0100, Laurens Holst wrote:
> Hey,
> 
> I saved up two questions re. secret changesets:
> 
> 1. If I commit on top of a secret changeset, will the new changeset
> be draft or secret?

secret

> 2. If I push a changeset B whose parent is A to a repository which
> has a changeset C whose parent is also A, will it abort due to the
> multiple heads or not?

I assume "C" is secret here so local don't know it exist.

Such push should not fail. However as I did not add any code to handle such
case, it'll probably fail after this series. Thanks for catching the usecase.



-- 
Pierre-Yves David

http://www.logilab.fr/

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 198 bytes
Desc: Digital signature
URL: <http://selenic.com/pipermail/mercurial-devel/attachments/20111219/62c70038/attachment.pgp>


More information about the Mercurial-devel mailing list