remote-bzr: avoid bad refs
commit4c00819910706aa8ae450292085e47e52c333440
authorFelipe Contreras <felipe.contreras@gmail.com>
Sat, 4 May 2013 00:31:07 +0000 (3 19:31 -0500)
committerJunio C Hamano <gitster@pobox.com>
Tue, 7 May 2013 01:19:55 +0000 (6 18:19 -0700)
tree618aa6396d85d96549bb4740a49e0d392bbd9762
parent081811216e99fe0396d74d8a2bd6dd3d119dccde
remote-bzr: avoid bad refs

Versions of fast-export before v1.8.2 throws a bad 'reset' commands
because of a behavior in transport-helper that is not even needed.
We should ignore them, otherwise we will treat them as branches and
fail.

This was fixed in v1.8.2, but some people use this script in older
versions of git.

Also, check if the ref was a tag, and skip it for now.

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