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

Re: Remove folder without affecting history

From: Mark Phippard <markp_at_softlanding.com>
Date: 2006-08-17 18:41:55 CEST

"Collin Peters" <cadiolis@gmail.com> wrote on 08/17/2006 12:35:43 PM:

> If you have a folder structure in your respository such as:
> foo/bar/abc/xyz/
> And that top folder (xyz) has 100 source code files in it... Is there
> anyway to remove the folder 'bar' without losing all the respository
> history on all the source files. So the structure would go to
> 'foo/abc/xyz/' from 'foo/bar/abc/xyz/'
> When I created my source code folder structure I added an additional
> folder level I thought I would use but I never have so now I would
> like to remove it. Problem is that I don't see a way to do that
> without A) moving all the code and losing the history (a move is a
> copy and delete from what I understand) or B) re-creating the
> repository in which case I lose the revision number and the history.

A move does not lose any history. What you want to do is move the abc
folder so that it is a child of foo, and then delete bar.


To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Thu Aug 17 18:46:46 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.