remote-bzr: fix for disappeared revisions
commit435f39a3e8f9dc1aab786347d4a92aee3ecef56a
authorFelipe Contreras <felipe.contreras@gmail.com>
Tue, 7 May 2013 23:39:35 +0000 (7 18:39 -0500)
committerJunio C Hamano <gitster@pobox.com>
Wed, 8 May 2013 05:38:40 +0000 (7 22:38 -0700)
tree47446fe3909cb249e6b9c950c2186be11d3ae4f4
parent3b892dc8280b3abfd10e97e1bacc8acf580980b8
remote-bzr: fix for disappeared revisions

It's possible that the previous tip goes away, we should not assume it's
always present. Fortunately we are only using it to calculate the
progress to display to the user, so only that needs to be fixed.

Also, add a test that triggers this issue.

Signed-off-by: Felipe Contreras <felipe.contreras@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
contrib/remote-helpers/git-remote-bzr
contrib/remote-helpers/test-bzr.sh