|author||Ian Jackson <email@example.com>||2016-10-30 21:04:22 +0000|
|committer||Ian Jackson <firstname.lastname@example.org>||2016-10-30 22:46:35 +0000|
Cope when cloning suite which doesn't receive uploads, like testing.
If $lastpush_hash is '', it means that the dgit git server does not have the suite branch. That can even happen if the current version in the suite was a .dsc with a Dgit field, if an in-archive copy moved the .dsc from whereever it was uploaded. Do not crash in this situation. Instead, give the user the Dgit hash (and maybe pseudomerge it with the user's history - sigh). There is still a possible problem: maybe the referenced commit is on another branch. Signed-off-by: Ian Jackson <email@example.com>
Diffstat (limited to 'debian')
1 files changed, 2 insertions, 0 deletions
diff --git a/debian/changelog b/debian/changelog
index cc4d4c0..19a1a9f 100644
@@ -22,6 +22,8 @@ dgit (2.9~) unstable; urgency=low
* Reject `dgit pull' in split view quilt modes, to avoid
creating unfortunate wreckage on non-dgit-view branches.
+ * Cope when cloning suite which doesn't receive uploads,
+ like testing. Closes:#842621.