X-Git-Url: https://git.tokkee.org/?a=blobdiff_plain;f=git-svn.perl;h=b28c5bbc7238120d1d98445f1bf0f116dd7a0b8a;hb=9d0524d42f340fc49f9e175d966afb7dce3854bb;hp=a772ce81e734d44adece95ee6f6c4e2f7e095d9d;hpb=7d60ab2c15ed59169d9512de6aa40811b7940cd2;p=git.git diff --git a/git-svn.perl b/git-svn.perl index a772ce81e..b28c5bbc7 100755 --- a/git-svn.perl +++ b/git-svn.perl @@ -1098,7 +1098,8 @@ sub read_uuid { sub verify_ref { my ($ref) = @_; - eval { command_oneline([ 'rev-parse', $ref ], { STDERR => 0 }) }; + eval { command_oneline([ 'rev-parse', '--verify', $ref ], + { STDERR => 0 }); }; } sub repo_path_split { @@ -2480,7 +2481,7 @@ sub libsvn_ls_fullurl { my $pool = SVN::Pool->new; my $r = defined $_revision ? $_revision : $ra->get_latest_revnum; my ($dirent, undef, undef) = $ra->get_dir('', $r, $pool); - foreach my $d (keys %$dirent) { + foreach my $d (sort keys %$dirent) { if ($dirent->{$d}->kind == $SVN::Node::dir) { push @ret, "$d/"; # add '/' for compat with cli svn }