summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xdgit4
1 files changed, 1 insertions, 3 deletions
diff --git a/dgit b/dgit
index 5056e11..9a28d81 100755
--- a/dgit
+++ b/dgit
@@ -3119,6 +3119,7 @@ sub clone ($) {
}
sub fetch () {
+ canonicalise_suite();
if (check_for_git()) {
git_fetch_us();
}
@@ -3902,11 +3903,8 @@ sub fetchpullargs () {
my $clogp = parsechangelog();
$isuite = getfield $clogp, 'Distribution';
}
- canonicalise_suite();
- progress "fetching from suite $csuite";
} elsif (@ARGV==1) {
($isuite) = @ARGV;
- canonicalise_suite();
} else {
badusage "incorrect arguments to dgit fetch or dgit pull";
}