[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

Re: "svn sync"

From: Ben Collins-Sussman <sussman_at_collab.net>
Date: 2002-10-04 15:09:44 CEST

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?

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Fri Oct 4 15:11:51 2002

This is an archived mail posted to the Subversion Dev mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.