How do you move a file?

后端 未结 13 2124
夕颜
夕颜 2020-11-30 18:01

I\'m using TortoiseSVN against the SourceForge SVN repository. I\'d like to move a file from one folder to another in order to maintain its revision history. Is this possibl

相关标签:
13条回答
  • 2020-11-30 18:31

    If you are moving folders via Repository Browser, then there is no Move option on right-click; the only way is to drag and drop.

    0 讨论(0)
  • 2020-11-30 18:33

    If I'm not wrong starting from version 1.5 SVN can track moved files\folders. In TortoiseSVN use can move file via drag&drop.

    0 讨论(0)
  • 2020-11-30 18:36

    In TortoiseSVN right click somewhere and go TortoiseSVN > Repo Browser open the repository.

    All you then have to do is drag and drop the file from one folder to the where you want it. It'll ask you to add a commit message and it defaults it to "Moved file/folder remotely"

    0 讨论(0)
  • 2020-11-30 18:40

    i think in the svn browser in tortoisesvn you can just drag it from one place to another.

    0 讨论(0)
  • 2020-11-30 18:42

    Cut file via operating system context menu as you usually do, then instead of doing regular paste, right click to bring context menu, then choose TortoiseSVN -> Paste (make sure you commit from root to include both old and new files in the commit).

    0 讨论(0)
  • 2020-11-30 18:43

    Using TortoiseSVN I just right-click and drag the folder from one location to another. When you release the right-click you'll have the option to "SVN Move Version File." However, I believe that SVN doesn't do anything "fancy" there, but simply deletes the file in the previous location and Adds it to the new location.

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