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

Re: How to move folder from one path to another along with all revisions

From: Les Mikesell <lesmikesell_at_gmail.com>
Date: Fri, 20 Feb 2015 10:21:40 -0600

On Fri, Feb 20, 2015 at 9:01 AM, Mohsin <mohsinchandia_at_gmail.com> wrote:
> Hi,
>
> Suppose I have one folder in Repo1 (http://abc.com/SVN/Repo1/folder1) and I
> have moved that folder to some new path which is (http://abc.com/SVN/Repo1).
> Point is I want to move that folder along with all its revisions to new path
> when i check history of that folder there should be all revisions instead of
> one revision. Can someone tell how can i move folder along with all its
> revisions to new path ?

_All_ svn copies and moves retain the revision history of the
contents. That's how branches and tags work, but it also applies to
any other copies. You can use a url->url copy or check out the
directory above and 'svn copy' in the workspace before committing back
with the same result. Also note that even if you move a path, it can
still be accessed at it's previous path and revisions using the peg
syntax: path_at_revision.

-- 
    Les Mikesell
      lesmikesell_at_gmail.com
Received on 2015-02-20 17:24:22 CET

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.