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

feature suggestion: backup/move file when checking out

From: Julien TOUCHE <julien.touche_at_lycos.com>
Date: 2005-10-29 11:08:37 CEST

i know this kind of stuff is more for file configuration versionning,
but i permit to ask. why not not having a feature when checkout (and
updating) in an existing non-versioned tree to move file to <file>.orig
and get file from svn ?

the file is backup in a same way as perl file replacement .bak

perl -pi.bak -e "s/Old/New/g" file


svn co -i.bak svn://server/project/trunk destdir
svn co -i.orig svn://server/project/trunk destdir

we can precise the existing backup could also be added to ignore files

a bit related to

in this way, installing a new server, to reconfigure it, you only need to
svn co -i.orig svn://server/project/trunk/unixroot /

existing directories are not moved, but recognized in the svn tree
existing files are moved to .orig and ignored thereafter.
all svn files are added



To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Sat Oct 29 11:10:36 2005

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

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