| svn add "already under version control"
From: Brian Bird <brian.bird_at_securetrading.com>
 Date: 2006-07-19 15:14:57 CEST 
Is there any way to force subversion to ignore the fact that a locally
 For example:
  
  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
  
  svn add directory     # At this point I want to ignore the fact that there
 svn: warning: 'directory' is already under version control
  
 Subversion will not let me use the new directory because it already knows
 I want to be able to tell subversion to remove the old directory and add the
  
 The best solution I can think of is to do the following:
  mv directory directory.new
  svn up
  svn remove directory
  svn ci
  mv directory.new directory
  svn add directory
  svn ci
 but this seems very long winded.
  
 FYI, the 'other program' in this case is Firefox and the directory is where
  
 Any suggestions appreciated.
  
 Briann
 | 
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.