[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: Mike Summers <null002000_at_yahoo.com>
Date: Tue, 7 Oct 2008 17:52:06 -0700 (PDT)

Foo's url.

If I do a commit all but two of the files head for foo's trunk... just these two head for bar's trunk. Always the same two.

--- On Tue, 10/7/08, Ryan Schmidt <subversion-2008c_at_ryandesign.com> wrote:
From: Ryan Schmidt <subversion-2008c_at_ryandesign.com>
Subject: Re: Change a file's repository path?
To: Mike_at_miscanthus.net
Cc: users_at_subversion.tigris.org
Date: Tuesday, October 7, 2008, 7:31 PM

On Oct 7, 2008, at 19:26, Mike Summers wrote:

> Ryan Schmidt wrote:
>> 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
>> >> 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
>> >> 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
>> > trunk/a/b/c/z.source... I'm assuming this is due to the stray
>> > link in bar that was at some point committed.
>> >
>> > What I'd like to do is get z.source committed in project
>> > 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.
> There are only two files under foo that are affected, the other 480
> files in foo behave just fine.

Run "svn info" in the directories of the affected files. Does the
repository URL reflect repository foo or repository bar?

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 05:56:25 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.