I have some cmake based builds that want to automatically figure
out the revision of the working copy we're building. Normally, this
is done by running "svn info <root path>", with an absolute path.
I'm trying to replace svn with git-svn here, and simply changing
this to "git svn info <root path>" doesn't work with absolute paths.
Since all other git commands do, I don't see why this should be the case.
themel@socrates:~/work/goodiebag/oid-store/build/tests$ git svn info .
Path: .
URL: https://localhost:4443/svn/goodiebag/trunk/oid-store/build/tests
Repository Root: https://localhost:4443/svn/goodiebag
Repository UUID: 44d14b40-c8c2-4cd3-bf89-d70a8d035482
Revision: 24
Node Kind: directory
Schedule: normal
Last Changed Author:
Last Changed Rev:
Last Changed Date: 2010-08-10 16:24:05 +0200 (Tue, 10 Aug 2010)
themel@socrates:~/work/goodiebag/oid-store/build/tests$ git svn info $PWD
svn: 'home/themel/work/goodiebag/oid-store/build/tests' is not under version control