Svn diff range change order

I am trying to make a list of modified / added files in the svn repository, for use with phing using the following command.

svn diff --no-diff-deleted --summarize -r 50:HEAD path/to/workingcopy

When I change the revision range (-r switch), for example:

svn diff --no-diff-deleted --summarize -r HEAD:50 path/to/workingcopy

.. I get different results. Although this behavior is what I need, I do not understand it (and maybe I am missing something). Example:

Assuming that the chapter editor has a new directory with some files: the second command will only display the new directory, and the first command will also list all new files inside it. At least this is what I think this happens after some tests.

I could not find clear documentation on this. Can anyone explain what the version range order implies? Thanks!

+3
1

, 50 Head. , , , , . . , 50. , , , . , " ", : , , , .

+6

Source: https://habr.com/ru/post/1712032/


All Articles