Show More
@@ -2377,10 +2377,11 b' def undoname(fn):' | |||
|
2377 | 2377 | return os.path.join(base, name.replace('journal', 'undo', 1)) |
|
2378 | 2378 | |
|
2379 | 2379 | def instance(ui, path, create, intents=None, createopts=None): |
|
2380 | localpath = util.urllocalpath(path) | |
|
2380 | 2381 | if create: |
|
2381 | createrepository(ui, path, createopts=createopts) | |
|
2382 | createrepository(ui, localpath, createopts=createopts) | |
|
2382 | 2383 | |
|
2383 |
return localrepository(ui, |
|
|
2384 | return localrepository(ui, localpath, intents=intents) | |
|
2384 | 2385 | |
|
2385 | 2386 | def islocal(path): |
|
2386 | 2387 | return True |
General Comments 0
You need to be logged in to leave comments.
Login now