Pushing relative subrepos

Georg Zetzsche georgz at gmx.de
Thu Nov 18 11:47:29 CST 2010


Am 18.11.2010 18:27, schrieb Matt Mackall:
>> On the other hand, when you pull -u from a repo that has a new subrepo,
>> a new folder is readily initialized. Isn't this somewhat asymmetrical?
> 
> First, let's back up. Pull never touches the working directory, and
> doesn't visit subrepos. That's the job of update, which is a very
> distinct operation from pull. Sneaking it into your argument about push
> vs pull with the -u convenience flag is cheating.

I was more refering to the asymmetry between the directions in which
new subrepos can be propagated rather than between pull and push.
But I understand now that this is necessary, since a remote working
directory shouldn't be altered.



More information about the Mercurial mailing list