4

Is there any possibility to export files that had been changed or modified in single commit?

This would be usefull for deploying changes to web serwer after commiting them to repository (given that the server dont have svn to update from).

Bartosz Rychlicki
  • 1,918
  • 3
  • 20
  • 41

5 Answers5

1

Console, Windows-unfriendly

svn diff --summarize -r N-1:N inside working copy produces a list (file per line with status indicator,spaces-separates) of affected in range files.

You have after only

  • gawk to get $2
  • pass result to xargs

In case of more one 1 revision in range one additional step added after gawk: sort -u

Lazy Badger
  • 94,711
  • 9
  • 78
  • 110
0

commit your changes, when the window open, select the checked files and right click export to (destination)

Alex
  • 5,971
  • 11
  • 42
  • 80
  • This will export all files from the current revision. No only the changed ones from a specific revision. – nfechner Feb 28 '12 at 13:04
  • Im mean how to do it in consle, not some GUI ;-) – Bartosz Rychlicki Feb 28 '12 at 13:23
  • 1
    @AliIssa As the poster wants a command in the console (see his comment on the question), your answer doesn't qualify. Besides, for a good answer, you would have to add more information. e.g. the tool you are talking about (I assume it's Tortoise.) – nfechner Feb 28 '12 at 13:34
0

It should be possible to create a diff of changes between two revisions using svn diff -r rev1:rev2. More information here. You can then apply the diff file to your website.

nfechner
  • 17,295
  • 7
  • 45
  • 64
0

Poster wants to export a change set. Exporting Only changed files from subversion maintaining directory structure

Community
  • 1
  • 1
Doug Chamberlain
  • 11,192
  • 9
  • 51
  • 91
0

Easy. Show the log info. Select two commits you want to compare/export by clicking Ctrl. Right-click choose 'Compare Revisions'. Then a dialogue named 'Files changed' will show up. You will see a list of files have changed between the commits. Select all files, then right click to export. :p

ken
  • 1
  • 3