You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@subversion.apache.org by Reinhard Brandstädter <re...@ams-engineering.com> on 2004/10/07 11:05:41 UTC

Moving of directories and files

Hi,

I'm just playing around with moving/renaming of files and directories. I 
know real moving is not available yet but all I want is to keep the 
history of files when they are moved or renamed.
I solved the problem with case sensitive renaming of files (developers 
on Windows) with using RapidSVN as frrontend rather than Tortoise or by 
using the Hint about case-sensitiveness from the FAQ

But since neither RapidSVN nor Trotoise seem to completely support 
moving whole directories I've tried the following:

- Shutting down the Apache powered SVN server and started a svnserve 
process for a test repository. ("svn mv" with http URLS doesn't work and 
fails to preserve the history of a file??)
- svn mv svn://localhost/trunk/src/java  
svn://localhost/trunk/sources/java (the java directory contains files 
with history)

This worked fine so far. When switching back to the Apache powered SVN 
server and querying the history log, I get the full history of files 
underneath the moved directory:

subversion@turtle /tmp $ svn log 
http://gaude-repos/trunk/sources/java/Test.java
------------------------------------------------------------------------
r11 | (no author) | 2004-10-07 12:22:55 +0200 (Thu, 07 Oct 2004) | 2 lines
moving java dir
------------------------------------------------------------------------
r5 | BrRe | 2004-10-07 12:03:57 +0200 (Thu, 07 Oct 2004) | 1 line
renaming test.java
------------------------------------------------------------------------
r4 | BrRe | 2004-10-07 11:52:02 +0200 (Thu, 07 Oct 2004) | 1 line
Class Test hat jetzt eine main methode
------------------------------------------------------------------------
r3 | BrRe | 2004-10-07 11:51:32 +0200 (Thu, 07 Oct 2004) | 1 line
Class Test implementiert
------------------------------------------------------------------------
r2 | BrRe | 2004-10-07 11:51:04 +0200 (Thu, 07 Oct 2004) | 1 line
test.java erstellt
------------------------------------------------------------------------

But when querying the Log of this file in the moved directory from 
Tortoise or RapidSVN I only get the last log entry (r11).
Shouldn't tortoise show the complete log too?
I'm sending this to the tortoise list too, since it might be a tortoise 
issue?

Systems used:
Subversion: version 1.1.0 (r11180)
Apache: 2.0.51
Berkeley DB: 2.4.52
TortoiseSVN: 1.1.0, Build 1769, UNICODE
RapidSVN: 0.7.0

Thanks,
Reinhard

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org