[PATCH 0 of 1 rfc] Update -C on git and svn subrepos

Erik Zielke ez at aragost.com
Fri Jan 7 08:34:29 CST 2011


On 07-01-2011 15:16, Martin Geisler wrote:
> Erik Zielke<ez at aragost.com>  writes:
>
>> This patch tries to make Subversion and Git subrepositories behave in
>> a way more similar to Mercurial subrepositories, when the main
>> repository is updated with update --clean.
>>
>> So it try to call svn and git commands to get a similar result, I do
>> however think that there might be better commands to call. E.g.
>> because the git one is a little different.
> Please write what git command you are talking about so that we don't
> have to dig it out ourselves -- as far as I can see we're talking about
>
>    git --reset hard HEAD
>
> here? And for Subversion you use
>
>    svn revert --recursive
>
> How are they different from what 'hg update -C' does -- something about
> whether they delete untracked files?
>
Yep, its those I am not sure whether is right, especially the git thing.


More information about the Mercurial-devel mailing list