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

Re: svn add "already under version control"

From: Erik Huelsmann <ehuels_at_gmail.com>
Date: 2006-07-19 19:13:05 CEST

>
> mkdir directory # the real directory has several files inside it too
>
> svn add directory
>
> svn ci
>
> rm –rf directory # another program removes this directory
>
> mkdir directory # it then creates an entirely new directory with
> similar files to the original directory

But here you violate all rules about modifying working copies. See the
warning box in:
http://svnbook.red-bean.com/nightly/en/svn.tour.cycle.html#svn.tour.cycle.edit

You're not using svn commands!

>
> svn add directory # At this point I want to ignore the fact that there
> is an old version of directory already in the repository

HTH,

Erik.
Received on Wed Jul 19 19:14:41 2006

This is an archived mail posted to the Subversion Users mailing list.