Show More
@@ -191,7 +191,9 b' class localpeer(repository.peer):' | |||||
191 |
|
191 | |||
192 | def debugwireargs(self, one, two, three=None, four=None, five=None): |
|
192 | def debugwireargs(self, one, two, three=None, four=None, five=None): | |
193 | """Used to test argument passing over the wire""" |
|
193 | """Used to test argument passing over the wire""" | |
194 |
return "%s %s %s %s %s" % (one, two, three, |
|
194 | return "%s %s %s %s %s" % (one, two, pycompat.bytestr(three), | |
|
195 | pycompat.bytestr(four), | |||
|
196 | pycompat.bytestr(five)) | |||
195 |
|
197 | |||
196 | def getbundle(self, source, heads=None, common=None, bundlecaps=None, |
|
198 | def getbundle(self, source, heads=None, common=None, bundlecaps=None, | |
197 | **kwargs): |
|
199 | **kwargs): | |
@@ -2231,7 +2233,9 b' class localrepository(object):' | |||||
2231 |
|
2233 | |||
2232 | def debugwireargs(self, one, two, three=None, four=None, five=None): |
|
2234 | def debugwireargs(self, one, two, three=None, four=None, five=None): | |
2233 | '''used to test argument passing over the wire''' |
|
2235 | '''used to test argument passing over the wire''' | |
2234 |
return "%s %s %s %s %s" % (one, two, three, |
|
2236 | return "%s %s %s %s %s" % (one, two, pycompat.bytestr(three), | |
|
2237 | pycompat.bytestr(four), | |||
|
2238 | pycompat.bytestr(five)) | |||
2235 |
|
2239 | |||
2236 | def savecommitmessage(self, text): |
|
2240 | def savecommitmessage(self, text): | |
2237 | fp = self.vfs('last-message.txt', 'wb') |
|
2241 | fp = self.vfs('last-message.txt', 'wb') |
General Comments 0
You need to be logged in to leave comments.
Login now