Possible to svn export and include unversioned files?

前端 未结 3 982
终归单人心
终归单人心 2021-01-15 12:09

I would like to export my code from the working svn copy while including all unversioned files. For example, there are uploaded images/config files etc, that I would like in

相关标签:
3条回答
  • 2021-01-15 12:25

    I don't know if there's a built in command for that. You could write a script that interprets the output of svn st which will output unversioned files ? marked/with/a/question/mark.config

    0 讨论(0)
  • 2021-01-15 12:44

    I know this question is rather old, and is marked as answered. But I found an other way, hope it's useful for other ones - Create new folder which stores you exported code - RIGHT DRAG your source repository to newly created folder. Then you will see interesting context menu can help.

    Ref : http://tortoisesvn.net/docs/nightly/TortoiseSVN_en/tsvn-dug-export.html

    0 讨论(0)
  • 2021-01-15 12:45

    What do you mean by "export"? You can just use cp -r to copy the directory tree directly, and then remove the .svn directories afterwards: find . -name .svn -type d -exec rm -r '{}' \;

    0 讨论(0)
提交回复
热议问题