Show More
@@ -678,6 +678,9 b' def getunbundler(ui, fp, magicstring=Non' | |||
|
678 | 678 | magicstring = changegroup.readexactly(fp, 4) |
|
679 | 679 | magic, version = magicstring[0:2], magicstring[2:4] |
|
680 | 680 | if magic != 'HG': |
|
681 | ui.debug( | |
|
682 | "error: invalid magic: %r (version %r), should be 'HG'\n" | |
|
683 | % (magic, version)) | |
|
681 | 684 | raise error.Abort(_('not a Mercurial bundle')) |
|
682 | 685 | unbundlerclass = formatmap.get(version) |
|
683 | 686 | if unbundlerclass is None: |
General Comments 0
You need to be logged in to leave comments.
Login now