Question

I have just made a small change ( commited that change ) to SVN in one of the scripts (being few directories deep inside SVN repo).

Now if I run

svn log -l 1

in my main directory I will not get my last change. Although if I run

svn log -r head

I will get it. What is the difference ? Why svn log -l 1 does not limit it to the very last commit ?

Was it helpful?

Solution

Your default revision (-r) checked is BASE (range BASE:1), which in this case is one or more revisions behind on HEAD. If you haven't updated your working directory, it does not matter the last commit is some directories down, svn will only know it for sure if you svn up that dir. If you run svn stat -v you can see what revision your various directories actually are.

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top