Mercurial > hgsubversion
comparison hgsubversion/svnmeta.py @ 1283:dde1f536d820
svnmeta: use self.defaultmessage instead of ui.config call
| author | Sean Farley <sean.michael.farley@gmail.com> |
|---|---|
| date | Mon, 24 Mar 2014 11:20:52 -0500 |
| parents | 5aecb986a5a0 |
| children | 6d6345604772 |
comparison
equal
deleted
inserted
replaced
| 1282:5aecb986a5a0 | 1283:dde1f536d820 |
|---|---|
| 377 | 377 |
| 378 except UnicodeDecodeError: | 378 except UnicodeDecodeError: |
| 379 # ancient svn failed to enforce utf8 encoding | 379 # ancient svn failed to enforce utf8 encoding |
| 380 return msg.decode('iso-8859-1').encode('utf-8') | 380 return msg.decode('iso-8859-1').encode('utf-8') |
| 381 else: | 381 else: |
| 382 return self.ui.config('hgsubversion', 'defaultmessage', '') | 382 return self.defaultmessage |
| 383 | 383 |
| 384 def get_path_tag(self, path): | 384 def get_path_tag(self, path): |
| 385 """If path could represent the path to a tag, returns the | 385 """If path could represent the path to a tag, returns the |
| 386 potential (non-empty) tag name. Otherwise, returns None | 386 potential (non-empty) tag name. Otherwise, returns None |
| 387 | 387 |
