How to overwrite several multi-level(different hie

2019-02-19 20:29发布

问题:

I just changed a lot of files in several different directories locally (then pushed the changes to Subversion, but this does not change the live version, just the repository). Now I have to update those files via FTP, but they are all different hierarchy levels.

How do I do that? Only way I know how to is to take my entire local version and replace the online version, but that could take some time, and its a live site...

Looking for a faster way...? Something along the lines of I can see the files that were changed in the commit, and take those and upload it to the FTP site, not having to worry about the different hierarchy levels.

回答1:

  • svn export changed files per revision - Bash, 1 revision
  • ExportRevs - Ruby, revision range
  • Subversion Command Line Script to export changed files - Bash, not tested

  • Exporting only changed files in TortoiseSVN between versions - GUI, Win-only, range