SVN: Checkout/export only the directory structure

后端 未结 12 1239
花落未央
花落未央 2020-12-08 19:14

Is there a way to perform a SVN checkout (or export), which would fetch only the directory structure; that is to say, no files?

12条回答
  •  感情败类
    2020-12-08 19:56

    SVN can't do that per se, but if you just want to export directory structure, try svn ls -R --xml to get XML listing of the directory structure and then recreate it by hand.

提交回复
热议问题