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

Re: [PATCH] git-svn: added an --include-path flag (resent fixing mail format)

From
EWEric Wong <normalperson@yhbt.net>
Date
May 1, 2013, 20:46 UTC
Message-ID
<20130501204616.GA12203@dcvr.yhbt.net>
In-Reply-To
<1366842790-18877-1-git-send-email-pjwhams@gmail.com>
Paul Walmsley <pjwhams@gmail.com> wrote:
Show 8 quoted lines
> The SVN::Fetcher module is now able to filter for inclusion as well
> as exclusion (as used by --ignore-path). Also added tests, documentation
> changes and git completion script.
> 
> If you have an SVN repository with many top level directories and you
> only want a git-svn clone of some of them then using --ignore-path is
> difficult as it requires a very long regexp. In this case it's much
> easier to filter for inclusion.
Thanks, comments inline.
A Signed-off-by is necessary (especially for new contributors)
(not _my_ policy, but project policy, see Documentation/SubmittingPatches)
Show 5 quoted lines
> @@ -1,5 +1,5 @@
>  package Git::SVN::Fetcher;
> -use vars qw/@ISA $_ignore_regex $_preserve_empty_dirs $_placeholder_filename
> +use vars qw/@ISA $_ignore_regex $_include_regex $_preserve_empty_dirs $_placeholder_filename
>              @deleted_gpath %added_placeholder $repo_id/;
Please wrap long lines at 80 columns.
Show 8 quoted lines
> --- /dev/null
> +++ b/t/t9147-git-svn-include-paths.sh
> @@ -0,0 +1,150 @@
> +#!/bin/sh
> +#
> +# Copyright (c) 2009 Vitaly Shukela
> +# Copyright (c) 2009 Eric Wong
> +#

I already commented on this in the previous email, please add your own copyright header (you can add a note saying this is based on t9134 by Vitaly).

Thanks again.
Previous: Paul WalmsleyNext: Paul Walmsley
Message 3 of 5 in “Re: Fwd: [PATCH] git-svn: added an --include-path flag”
  1. Eric WongApr 24, 2013
  2. git-svn: added an --include-path flag (resent fixing mail format)Paul Walmsley, Apr 24, 2013
  3. Eric WongMay 1, 2013
  4. git-svn: added an --include-path flagPaul Walmsley, May 3, 2013
  5. Eric WongMay 9, 2013

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.