How to "svn export" the current version * unchanged without network access?

Background: Before making the change, I want to compile the old version (no change) and the new version of the program and compare their output, for example:

svn export -r HEAD . /target/for/old-version
svn export         . /target/for/new-version
... compile and run code in /target/for/old-version
... compile and run code in /target/for/new-version
... compare results

My problem is that 'svn export -r HEAD' accesses the main repository over the network --- which is slow. But SVN saves the current (unchanged) version to disk: 'svn cat file' shows the old contents of the file without access to the network.

How can I achieve the result of 'svn export -r HEAD' by accessing only the data on disk and not through the network?

+3
source share
2 answers

svn export -r BASE./ Goal / for / old version

, . .

+1

, (, ):

  • .
  • .

.

+4

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


All Articles