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

Re: new svn command/feature

From: Matthew Braithwaite <matt_at_braithwaite.net>
Date: 2000-10-22 12:27:49 CEST

On Fri, 20 Oct 2000 12:29:25 -0500, Lee Burgess <lefty@red-bean.com> said:
>
> sync
> ====
>
> This is going to take a bit of explaining. Imagine an intelligent
> update that knows to add new files and remove files that you've
> removed, and all recursively (without having to svn add, svn rm, ad
> nauseam). More to come!

This seems especially useful for situations where you don't want to
devote care to each commit -- instead, you just want history.

At it happens, I have an example. :-)

I've often wanted to use CVS when sysadminning, but it's too much of a
pain in the ass, because CVS wants you to do too many things for each
file and change. If I want to put /etc under CVS, for example, a
FreeBSD upgrade will force me to deal with a bunch of new files by
hand, with some such bletcherous command as:

        cd /etc
        cvs -q update | fgrep ^\? | awk '{print $2}' | xargs -n1 cvs add

But the `sync' command you describe would be perfect, not least
because, requiring no human intervention, it could be run nightly from
shell scripts.

Adding this command would help the goal of having everything in the
universe under version control.
Received on Sat Oct 21 14:36:12 2006

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.