SVN add files recursively

26.07.2010

By default, the svn command adds new files and folders recursively, but skips over already added folders. So new files in already added folders won’t get added.

The solution is to list all new files with the following command:

svn status | grep ?

…and then add each folder separately.

Fork me on GitHub

Kommentare

ist mir noch nie aufgefallen, daß mit den neuen dateien in geaddeten ordnern – wahrscheinlich programmiere ich zu wenig ^^. aber gut zu wissen! :)

das – nicht daß. asche über mein haupt.

ich bevorzuge sowieso GIT… muss irgendwann mal mein dokumente-repo zu git umwandeln, svn ist teilweise etwas mühsam (und langsam).

Hinterlasse einen Kommentar

Dein Kommentar:

XHTML: Sie dürfen folgende Tags verwenden: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong> <pre lang="" line="" escaped="" highlight="">

Kategorien

Switch to our mobile site