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

[TSVN] Moving of directories and files

From: Reinhard Brandstädter <reinhard.brandstaedter_at_ams-engineering.com>
Date: 2004-10-07 13:05:41 CEST

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: dev-unsubscribe@tortoisesvn.tigris.org
For additional commands, e-mail: dev-help@tortoisesvn.tigris.org
Received on Thu Oct 7 14:13:29 2004

This is an archived mail posted to the TortoiseSVN Dev mailing list.

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