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

Re: Change a file's repository path?

From: Ryan Schmidt <subversion-2008c_at_ryandesign.com>
Date: Tue, 7 Oct 2008 18:39:20 -0500

On Oct 7, 2008, at 18:12, Mike Summers wrote:

> Ryan Schmidt wrote:
>
>> On Oct 6, 2008, at 22:06, Mike Summers wrote:
>>
>>> Is there anyway to change a file's repository path?
>>>
>>> I have two repositories and due to a stray soft link a couple of
>>> files are pointed at the wrong repository.
>>
>> Can you elaborate on the problem? Are we talking about files
>> within the repository directory, such as the revision and revision
>> property files in db/revs and db/revprops, or what? If they're in
>> the wrong place, just move them to the right place, although I
>> don't see how the got to the wrong place initially.
>
> Project foo, file /x/y/z.source, repository path svn://localhost/
> opt/foo/trunk
> Project bar, file /a/b/c/link.to.z.source, repository path svn://
> localhost/opt/bar/trunk
>
> When I commit foo, it tells me it's going to save z.source as /bar/
> trunk/a/b/c/z.source... I'm assuming this is due to the stray soft
> link in bar that was at some point committed.
>
> What I'd like to do is get z.source committed in project foo's trunk.

Have you tried just checking out new working copies? It sounds like
your foo working copy thinks it is a working copy of bar. Just check
out new ones, manually move over your changed files, commit, and
throw away the old working copies.

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe_at_subversion.tigris.org
For additional commands, e-mail: users-help_at_subversion.tigris.org
Received on 2008-10-08 01:39:36 CEST

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.