{"thread":{"id":"13692","subject":"git-svn {show,create}-ignore chokes upon subdirs","startedAt":"2008-05-27T16:20:04Z","lastAt":"2008-05-28T09:16:33Z","messageCount":3,"participants":["Nikolaus Schulz","Sam Vilain"],"isPatch":false,"patchVersion":null,"patchTotal":null},"messages":[{"id":"77871","messageId":"20080527162002.GA21855@penelope.zusammrottung.local","threadId":"13692","inReplyTo":null,"subject":"git-svn {show,create}-ignore chokes upon subdirs","fromName":"Nikolaus Schulz","fromEmail":"microschulz@web.de","sentAt":"2008-05-27T16:20:04Z","receivedAt":"2008-05-27T16:20:04Z","isPatch":false,"sender":{"key":"microschulz@web.de","avatar":null},"body":"Hi, \n\nwhen importing subversion repositories into git, git-svn show-ignore and\ncreate-ignore choke when scanning project subdirectories.  For example,\nwith the sequence\n\n git-svn init -s http://svn.red-bean.com/repos/producingoss producingoss-git-svn\n cd producingoss-git-svn\n git-svn fetch\n git-svn create-ignore \n\nthe last command prints this: \n\n HTTP Path Not Found: PROPFIND request failed on '/repos/producingoss/!svn/bc/1465/ca': '/repos/producingoss/!svn/bc/1465/ca' path not found at /home/nikolaus/nfs/nsbp/git/git/git-svn line 1897\n\nRevision 1465 is the latest subversion revision of the project.  git-svn\ncreate-ignore stages a correct .gitignore in the top level directory, then\naborts with the same error.  I have tested this with two svn projects, the\nresult is identical.  Bisecting suggested that this is broken since commit\n01bdab84e31763a98206c31cf99b9dc3cb221356.\n\nNikolaus\n"},{"id":"77919","messageId":"483D190F.4030101@vilain.net","threadId":"13692","inReplyTo":"20080527162002.GA21855@penelope.zusammrottung.local","subject":"Re: git-svn {show,create}-ignore chokes upon subdirs","fromName":"Sam Vilain","fromEmail":"sam@vilain.net","sentAt":"2008-05-28T08:34:23Z","receivedAt":"2008-05-28T08:34:23Z","isPatch":false,"sender":{"key":"sam@vilain.net","avatar":"https://gravatar.com/avatar/8fc840ca854dbf6f7065b4335e3b934951c1dca3b11db688e95e471901f8f4a8?d=mp&s=160"},"body":"Nikolaus Schulz wrote:\n> Hi, \n> \n> when importing subversion repositories into git, git-svn show-ignore and\n> create-ignore choke when scanning project subdirectories.  For example,\n> with the sequence\n> \n>  git-svn init -s http://svn.red-bean.com/repos/producingoss producingoss-git-svn\n>  cd producingoss-git-svn\n>  git-svn fetch\n>  git-svn create-ignore \n> \n> the last command prints this: \n> \n>  HTTP Path Not Found: PROPFIND request failed on '/repos/producingoss/!svn/bc/1465/ca': '/repos/producingoss/!svn/bc/1465/ca' path not found at /home/nikolaus/nfs/nsbp/git/git/git-svn line 1897\n> \n> Revision 1465 is the latest subversion revision of the project.  git-svn\n> create-ignore stages a correct .gitignore in the top level directory, then\n> aborts with the same error.  I have tested this with two svn projects, the\n> result is identical.  Bisecting suggested that this is broken since commit\n> 01bdab84e31763a98206c31cf99b9dc3cb221356.\n\nIt helps to include the breaking change's details in the message in\nreports like this.  Here it is:\n\nFrom: Benoit Sigoure <tsuna@lrde.epita.fr>\nSubject: git-svn: add a generic tree traversal to fetch SVN properties\n\n    * git-svn.perl (&traverse_ignore): Remove.\n    (&prop_walk): New.\n    (&cmd_show_ignore): Use prop_walk.\n\n[ew: This will ease the implementation of the `create-ignore',\n     `propget', and `proplist' commands]\n\nSigned-off-by: Benoit Sigoure <tsuna@lrde.epita.fr>\nAcked-by: Eric Wong <normalperson@yhbt.net>\nSigned-off-by: Shawn O. Pearce <spearce@spearce.org>\n\nAs a side note, \"svn:mergeinfo\" is rapidly becoming an 'interesting'\nproperty and should probably be added to the list.  However, I think it\nprobably needs to go somewhere like do_fetch; I'll follow-up separately\nabout that.\n\nSam.\n"},{"id":"78064","messageId":"20080528091633.GA3919@penelope.zusammrottung.local","threadId":"13692","inReplyTo":"483D190F.4030101@vilain.net","subject":"Re: git-svn {show,create}-ignore chokes upon subdirs","fromName":"Nikolaus Schulz","fromEmail":"microschulz@web.de","sentAt":"2008-05-28T09:16:33Z","receivedAt":"2008-05-28T09:16:33Z","isPatch":false,"sender":{"key":"microschulz@web.de","avatar":null},"body":"On Wed, May 28, 2008 at 08:34:23PM +1200, Sam Vilain wrote:\n> >  git-svn init -s http://svn.red-bean.com/repos/producingoss producingoss-git-svn\n> >  cd producingoss-git-svn\n> >  git-svn fetch\n> >  git-svn create-ignore \n> > \n> > the last command prints this: \n> > \n> >  HTTP Path Not Found: PROPFIND request failed on '/repos/producingoss/!svn/bc/1465/ca': '/repos/producingoss/!svn/bc/1465/ca' path not found at /home/nikolaus/nfs/nsbp/git/git/git-svn line 1897\n\n[...]\n\n> It helps to include the breaking change's details in the message in\n> reports like this.  Here it is:\n> \n> From: Benoit Sigoure <tsuna@lrde.epita.fr>\n> Subject: git-svn: add a generic tree traversal to fetch SVN properties\n> \n>     * git-svn.perl (&traverse_ignore): Remove.\n>     (&prop_walk): New.\n>     (&cmd_show_ignore): Use prop_walk.\n> \n> [ew: This will ease the implementation of the `create-ignore',\n>      `propget', and `proplist' commands]\n> \n> Signed-off-by: Benoit Sigoure <tsuna@lrde.epita.fr>\n> Acked-by: Eric Wong <normalperson@yhbt.net>\n> Signed-off-by: Shawn O. Pearce <spearce@spearce.org>\n\nThanks, I thought it could be considered chatter. :-)\n\nIt looks like the patch from Christian Engwer posted here yesterday[1] is a fix\nfor the described problem. \n\n> As a side note, \"svn:mergeinfo\" is rapidly becoming an 'interesting'\n> property and should probably be added to the list.  \n\nThat's interesting, I wasn't aware they're finally tackling merge\ntracking. \n\nNikolaus\n\n[1] see Gerrit Pape's message \"[PATCH] git-svn fails in prop_walk if\n    $self->{path} is not empty\"\n                                                                                   \n"}]}