CVS users section

C. Michael Pilato cmpilato at red-bean.com
Thu Apr 23 13:23:35 CDT 2009


> As you can see "svn log ." did not give me the latest revision logs, it
> gave me quite old revisions.  This is what I had been having a problem
> conceptualizing before.  I now know that I have to do @HEAD.
> 
> However, I am kind of curious what the logic was behind not showing my
> recent log information when not specifying @HEAD???  It certainly doesn't
> seem logical to me, as that is the basic information I would expect.

This discussion is ancient, but boils down to two things:

  * consistency -- all the Subversion subcommands default to operating
    on working copy paths AT THEIR CURRENT REVISIONS, so 'svn log' does
    too.

  * fault tolerance -- if the directory reflected by your working copy
    is no longer present in HEAD of the repository, users shouldn't be
    penalized with an error saying, "There's no such path in HEAD" and
    leaving you to figure out how to properly address this path.

-- 
C. Michael Pilato <cmpilato at red-bean.com> | http://cmpilato.blogspot.com/




More information about the svnbook-dev mailing list