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

Re: Server configuration management with svn question

From: David Kastrup <dak_at_gnu.org>
Date: 2007-07-13 20:47:37 CEST

"Matt Sickler" <crazyfordynamite@gmail.com> writes:

> SVN could do that well. Just remember that you will have to write a
> script that adds files not already added, and removes missing files
> automatically. And you wont get the copy/move tracking that svn
> provides if you use the systems cp/mv commands.

I'd use git for that. Git does copy/move tracking even if you use the
system's cp/mv commands (_and_ is efficient in its operation).

Basically, you do once
git-init
at the top and then repeatedly use
git add .
git commit -m "some commit message" -a
to update your local repository. When you want to know what happened,
use something like
git-diff --name-status -M -C -R -B ":/some commit message"

Something like that. Copy/Rename detection happens only when doing
git-diff, but the checkins are efficient nevertheless (identical file
contents don't take up additional space regardless of what file they
happen to occur).

Git defaults to using a single local repository .git in the top
directory. While you can use a file:// URL for the subversion
repository, too, you can't really share this with the same tree as the
content.

-- 
David Kastrup
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Fri Jul 13 20:47:31 2007

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.