equal
deleted
inserted
replaced
264 extensions.loadall(ui) |
264 extensions.loadall(ui) |
265 ui.addreadhook(extensions.loadall) |
265 ui.addreadhook(extensions.loadall) |
266 |
266 |
267 # read the local repository .hgrc into a local ui object |
267 # read the local repository .hgrc into a local ui object |
268 # this will trigger its extensions to load |
268 # this will trigger its extensions to load |
269 path = earlygetopt(["-R", "--repository"], args) |
269 path = earlygetopt(["-R", "--repository", "--repo"], args) |
270 if not path: |
270 if not path: |
271 path = findrepo() or "" |
271 path = findrepo() or "" |
272 if path: |
272 if path: |
273 try: |
273 try: |
274 lui = commands.ui.ui(parentui=ui) |
274 lui = commands.ui.ui(parentui=ui) |