From: Joey Hess Date: Sat, 10 Jan 2009 21:33:32 +0000 (-0500) Subject: Fix display of repos configured at absolute path locations. X-Git-Url: https://git.madduck.net/code/myrepos.git/commitdiff_plain/494d586d154db49a4210a989878c3e76aa22206d?ds=inline Fix display of repos configured at absolute path locations. --- diff --git a/debian/changelog b/debian/changelog index a613e50..e1119a1 100644 --- a/debian/changelog +++ b/debian/changelog @@ -1,6 +1,7 @@ mr (0.36) UNRELEASED; urgency=low * Add webcheckout command. See http://kitenet.net/~joey/rfc/rel-vcs/ + * Fix display of repos configured at absolute path locations. -- Joey Hess Tue, 06 Jan 2009 20:59:20 -0500 diff --git a/mr b/mr index e96a3dc..00c62fb 100755 --- a/mr +++ b/mr @@ -515,12 +515,12 @@ sub action { } else { if (! $no_chdir) { - print "mr $action: $topdir$subdir\n" unless $quiet; + print "mr $action: $dir\n" unless $quiet; } else { my $s=$directory; $s=~s/^\Q$topdir$subdir\E\/?//; - print "mr $action: $topdir$subdir (in subdir $s)\n" unless $quiet; + print "mr $action: $dir (in subdir $s)\n" unless $quiet; } $command="set -e; ".$lib. "my_action(){ $command\n }; my_action ".