On Wed, Mar 03, 2010 at 02:35:33PM +0100, Andreas Jellinghaus wrote:
> and if you overwrite a file with svn mv, how do you access
> the history of the overwritten file?
I don't think in recent versions you can overwrite an existing file
using svn mv -- same for svn cp -- I don't know if this has been
possible in earlier releases. So you either 'svn mv' the existing
destination file to a new location  (in which case it retains its
history) or you 'svn rm' it (in which case the history ends with that
revision) before moving another file to that location.

My guess is that you did a svn rm / svn add instead of svn mv. Or that
earlier versions of svn permitted you to move a file to an existing
other file deleting the target.

> I don't remember the exact details, but being burned once
> or twice by svn and move I try to avoid it. maybe latest
> svn has improved since and is easier to use?

No, I don't think this has changed too much. I was using svn mv to
reorganize repos converted from cvs because that hasn't been possible
with cvs -- and so far I haven't lost history.

Note that svn has from the beginning used "svn cp" to tag a directory
(copy it to some other place inside the repo that by convention is used
for tags or branches). And this has worked well from the beginning
without losing history. The svn mv is the same as cp just deleting the
original version afaik.

Ralf
-- 
Dr. Ralf Schlatterbeck                  Tel:   +43/2243/26465-16
Open Source Consulting                  Fax:   +43/2243/26465-23
Reichergasse 131                        www:   http://www.runtux.com
A-3411 Weidling                         email: off...@runtux.com
osAlliance member                       email: r...@osalliance.com
_______________________________________________
opensc-devel mailing list
opensc-devel@lists.opensc-project.org
http://www.opensc-project.org/mailman/listinfo/opensc-devel

Reply via email to