comparison hgext/convert/monotone.py @ 10938:02d6149a480b stable

convert: write "repository" instead of "repo" We should strive to avoid slang in our messages to the users.
author Martin Geisler <mg@lazybytes.net>
date Sun, 18 Apr 2010 15:47:49 +0200
parents 08a0f04b56bd
children 33010ff1fd6f
comparison
equal deleted inserted replaced
10933:e3396b218e10 10938:02d6149a480b
18 commandline.__init__(self, ui, 'mtn') 18 commandline.__init__(self, ui, 'mtn')
19 19
20 self.ui = ui 20 self.ui = ui
21 self.path = path 21 self.path = path
22 22
23 norepo = NoRepo (_("%s does not look like a monotone repo") % path) 23 norepo = NoRepo(_("%s does not look like a monotone repository")
24 % path)
24 if not os.path.exists(os.path.join(path, '_MTN')): 25 if not os.path.exists(os.path.join(path, '_MTN')):
25 # Could be a monotone repository (SQLite db file) 26 # Could be a monotone repository (SQLite db file)
26 try: 27 try:
27 header = file(path, 'rb').read(16) 28 header = file(path, 'rb').read(16)
28 except: 29 except: