git/list[1] front-page[2] threads[3] people[4] search[5] about
 

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

From
MDMike Doherty <doherty@pythian.com>
Date
Apr 25, 2012, 19:17 UTC
Message-ID
<4F984DD2.2030804@pythian.com>
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
Message 1 of 1 in “git-svn 1.7.0.4 doesn't report that a directory isn't under version control”
  1. Mike DohertyApr 25, 2012

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.