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

Re: Fixing a suboptimal repository setup

From: Ryan Schmidt <subversion-2006c_at_ryandesign.com>
Date: 2006-08-16 02:02:32 CEST

On Aug 16, 2006, at 01:46, Garrett Fitzgerald wrote:

>>> After that, I'll want to point TortoiseSVN from myProject to
>>> myProject/trunk, correct?
>>
>> Yes, you'll want to have everybody with a working copy do a switch to
>> the new location:
>
> Yup, that worked.
>
> The only place where it fell down was when I did a regular move
> instead of an SVN move, so I lost the history for the files (not too
> much, I've only had this up for a few days.) Can I restore this
> somehow, or am I out of luck now that I've committed?

You would have had to have done more than that to appear to lose your
history... maybe you did this?

mv foo bar/foo
svn delete foo
svn add bar/foo
svn ci -m "moving foo to bar/foo the wrong way"

The history is not lost, of course; Subversion never loses data;
that's the point. You can still say

svn log $REPO/path/to/old/location/of/foo@42

where "42" is the last revision in which foo existed at the old
location.

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Wed Aug 16 02:03:48 2006

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.