summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 2c5c1d5)
raw | patch | inline | side by side (parent: 2c5c1d5)
author | Eric Wong <normalperson@yhbt.net> | |
Thu, 28 Dec 2006 09:16:22 +0000 (01:16 -0800) | ||
committer | Junio C Hamano <junkio@cox.net> | |
Thu, 28 Dec 2006 09:39:47 +0000 (01:39 -0800) |
This looks a bit more pleasant for users.
Signed-off-by: Eric Wong <normalperson@yhbt.net>
Signed-off-by: Junio C Hamano <junkio@cox.net>
Signed-off-by: Eric Wong <normalperson@yhbt.net>
Signed-off-by: Junio C Hamano <junkio@cox.net>
git-svn.perl | patch | blob | history |
diff --git a/git-svn.perl b/git-svn.perl
index 74a3424b763ee63a7b2bcf0b79c028db3205210d..b28c5bbc7238120d1d98445f1bf0f116dd7a0b8a 100755 (executable)
--- a/git-svn.perl
+++ b/git-svn.perl
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
}