diff options
author | Michael G. Schwern <schwern@pobox.com> | 2012-07-26 16:22:25 -0700 |
---|---|---|
committer | Eric Wong <normalperson@yhbt.net> | 2012-07-27 22:14:54 +0000 |
commit | 5c71028fced46d03bf81b8625680d9ac87c8f4f0 (patch) | |
tree | c61b5b44816bba09f61bed84fc30be62affa0b6f /perl/Git | |
parent | 29499c0b2741cc2ea13b78a342048bad928dfe2a (diff) | |
download | git-5c71028fced46d03bf81b8625680d9ac87c8f4f0.tar.gz |
Move initialization of Git::SVN variables into Git::SVN.
Also it can compile on its own now, yay!
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Signed-off-by: Eric Wong <normalperson@yhbt.net>
Diffstat (limited to 'perl/Git')
-rw-r--r-- | perl/Git/SVN.pm | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/perl/Git/SVN.pm b/perl/Git/SVN.pm index c71c041986..2e0d7f0373 100644 --- a/perl/Git/SVN.pm +++ b/perl/Git/SVN.pm @@ -3,9 +3,9 @@ use strict; use warnings; use Fcntl qw/:DEFAULT :seek/; use constant rev_map_fmt => 'NH40'; -use vars qw/$default_repo_id $default_ref_id $_no_metadata $_follow_parent +use vars qw/$_no_metadata $_repack $_repack_flags $_use_svm_props $_head - $_use_svnsync_props $no_reuse_existing $_minimize_url + $_use_svnsync_props $no_reuse_existing $_use_log_author $_add_author_from $_localtime/; use Carp qw/croak/; use File::Path qw/mkpath/; @@ -30,6 +30,11 @@ BEGIN { $can_use_yaml = eval { require Git::SVN::Memoize::YAML; 1}; } +our $_follow_parent = 1; +our $_minimize_url = 'unset'; +our $default_repo_id = 'svn'; +our $default_ref_id = $ENV{GIT_SVN_ID} || 'git-svn'; + my ($_gc_nr, $_gc_period); # properties that we do not log: |