Ben Collins-Sussman wrote:
> Peter Davis <peter@pdavis.cx> writes:
>> I was just reading the incredibly old and out-of-date /IDEAS file,
>> and I noticed a proposal for 'svn sync'. Did anything come of
>> that? I think it would be just as useful as import -- perhaps more
>> useful.
>
> Heh, you never actually said what the command is supposed to do, but
> I looked it up in the IDEAs file.
>
> Basically, the command just runs 'svn status' under the hood. Every
> unrecognized file or directory (those normally printed with a '?')
> gets scheduled for addition. Every missing file or directory
> (normally printed with a '!') gets scheduled for deletion.
>
> I think we've talked about this idea before -- but under different
> names. 'svn sync' sounds a bit too 2-way-ish... it's just an
> auto-scheduling tool. I think we've talked about calling such a
> command 'svn guess' or something -- and possibly designing it to
> have an interactive mode. ("Add this file? Delete this file?"...)
>
> It would take about 20 minutes to write. Is there a demand for it?
Well this does have some things to do with handling vendor-branches as
well. This 'svn guess' functionality in those cases could be exactly
the same - except that in addition there could be something to try and
catch renames under the hood.
There was atleast a perl script to do the vendor branch things, maybe
it would have some stuff about this.
-- Naked
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Fri Oct 4 16:42:11 2002