git-svn: sort multi-init output
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>
This commit is contained in:
parent
2c5c1d5300
commit
4a4d94b29b
@ -2481,7 +2481,7 @@ sub libsvn_ls_fullurl {
|
|||||||
my $pool = SVN::Pool->new;
|
my $pool = SVN::Pool->new;
|
||||||
my $r = defined $_revision ? $_revision : $ra->get_latest_revnum;
|
my $r = defined $_revision ? $_revision : $ra->get_latest_revnum;
|
||||||
my ($dirent, undef, undef) = $ra->get_dir('', $r, $pool);
|
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) {
|
if ($dirent->{$d}->kind == $SVN::Node::dir) {
|
||||||
push @ret, "$d/"; # add '/' for compat with cli svn
|
push @ret, "$d/"; # add '/' for compat with cli svn
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user