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

Re: Creating trunk later

From: Anders J. Munch <ajm_at_flonidan.dk>
Date: 2006-05-19 11:33:51 CEST

From: Ryan Schmidt [mailto:subversion-2006q2@ryandesign.com]
> On May 19, 2006, at 06:38, jbonnett wrote:
>
> > I have a history of revisions built up in https://repository/prog1
> > and would like to move everything to https://repository/prog1/
> > trunkincluding my revision history. I don’t seem to be able to do
> > this. The revision history seems to want to stay in the old
> location.
>
> What does that mean? How are you moving it? Isn't it just
>
> svn mv https://repository/prog1 https://repository/prog1/trunk

No, you can't move something to within itself.

A temporary renaming should do it:

  # WARNING UNTESTED
  svn move https://repository/prog1 https://repository/othername
  svn mkdir https://repository/prog1
  svn move https://repository/othername https://repository/prog1/trunk

- Anders

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Fri May 19 11:34:58 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.