You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@subversion.apache.org by Benedict Verheyen <ws...@hotmail.com> on 2004/01/12 08:47:30 UTC

easiest way to delete a wrongly imported project + svn directory structure

Hi,


my repository contains several projects.
The layout looks like this:
  svn/project1
  svn/project2
  svn/project3

1. With an import we had a problem:
Instead of importing the new project like:
  svn import project4 %repopath%/project4 -m "Import of project"

(where repopath is for instance http://computername/svn)

he imported like this:
  svn import project4 %repopath% -m "Import of project"

The layout now looks like this:
  svn/project1
  svn/project2
  svn/project3
  svn/file_from_project4
  svn/dir_from_project4
...
What is the easiest way to solve this, in other words to completely
delete the project 4 again so we can import it again the correct way?
As i pushed for subversion they are of course turning to me to solve
these things :)

2. Directory structure.
Are there advantages of making an extra directory under svn (svn as in
the structure i have here)?
For instance:
  svn/projects/project1
  svn/projects/project2
  svn/projects/project3
  svn/vendors/vendor1
  svn/vendors/vendor2
...
Or even
  svn/repo1/projects/project1
  svn/repo1/projects/project2
  svn/repo1/projects/project3
  svn/repo1/vendors/vendor1
  svn/repo1/vendors/vendor2
so one could add a repository to the same dir (svn) for ease of maintenance?
Or doesn't it really matter?

Thanks.
Benedict

_________________________________________________________________



---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org

Re: easiest way to delete a wrongly imported project + svn directory structure

Posted by Ben Collins-Sussman <su...@collab.net>.
On Mon, 2004-01-12 at 02:47, Benedict Verheyen wrote:

> What is the easiest way to solve this, in other words to completely
> delete the project 4 again so we can import it again the correct way?
> As i pushed for subversion they are of course turning to me to solve
> these things :)

Revert the commit.  If the commit created revision N, then run 'svn
merge -r N:N-1'.  This is documented in chapter 4 of the book.

> 
> 2. Directory structure.
> Are there advantages of making an extra directory under svn (svn as in
[...]
> Or doesn't it really matter?

Whatever's convenient for you and your team.  :-)



---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org