threads / discuss / 30335

git-svn 1.7.0.4 doesn't report that a directory isn't under version control

Subject: git-svn 1.7.0.4 doesn't report that a directory isn't under version control

## tl;dr

One message between Apr 25, 2012 and Apr 25, 2012.

replies: 0people: 1as markdown or json

Mike Doherty· Apr 25, 2012, 19:17 UTC · lore
Hello,

I noticed today that git-svn doesn't handle the case where a directory isn't under version control in subversion, but you're still within your git tree:

doherty@mdd:~/code/libs_shared/t (my-py-2523)$ git svn info
Use of uninitialized value $lc_author in concatenation (.) or string at 
/usr/lib/git-core/git-svn line 1135.
Use of uninitialized value $lc_rev in concatenation (.) or string at 
/usr/lib/git-core/git-svn line 1136.
Path: .
URL: svn://svn..../libs_shared/branches/PY-2523/t
Repository Root: svn://svn....
Repository UUID: ...
Revision: 8045
Node Kind: directory
Schedule: normal
Last Changed Author:
Last Changed Rev:
Last Changed Date: 2012-04-25 15:10:51 -0400 (Wed, 25 Apr 2012)

doherty@mdd:~/code/libs_shared/t (my-py-2523)$ svn ls svn://svn.pythian.com/pythian/procter/dispatcher_repo/libs_shared/branches/PY-2523/t svn: URL 'svn://svn..../libs_shared/branches/PY-2523/t' non-existent in that revision doherty@mdd:~/code/libs_shared/t (my-py-2523)$ svn ls svn://svn..../libs_shared/branches/PY-2523 Class/ Data/ README Util.pm VERSION XML/ doherty@mdd:~/code/libs_shared/t (my-py-2523)$ git --version git version 1.7.0.4

I expected git to report that the directory (t) was not under version control, as svn did.

Thanks, -Mike Doherty

-- 
--

Attending Collaborate12 Apr 22-26? Catch Pythian’s stellar roster of 
speakers presenting on a wide array of hot Oracle technology topics. More 
at pythian.com/news

← back to recent threads