Remove empty directory from CVS?

后端 未结 7 1015
礼貌的吻别
礼貌的吻别 2020-12-14 06:53

I\'m not quite sure how this happened, but somehow a completely empty hierarchy of directories has ended up in my repository:

com/
com/companyname/
com/compa         


        
相关标签:
7条回答
  • 2020-12-14 07:31

    CVS checkout and update will always check out empty directories; that's just the way CVS is built. Do an update with "-P" -- "prune" -- to remove empty directories:

    cvs update -dP
    

    (Adding "-d" will update new directories that have appeared since your last update; otherwise, CVS will ignore them.)

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