equal
deleted
inserted
replaced
44 """convert a shared repository to a normal one |
44 """convert a shared repository to a normal one |
45 |
45 |
46 Copy the store data to the repo and remove the sharedpath data. |
46 Copy the store data to the repo and remove the sharedpath data. |
47 """ |
47 """ |
48 |
48 |
49 if repo.sharedpath == repo.path: |
49 if not repo.shared(): |
50 raise util.Abort(_("this is not a shared repo")) |
50 raise util.Abort(_("this is not a shared repo")) |
51 |
51 |
52 destlock = lock = None |
52 destlock = lock = None |
53 lock = repo.lock() |
53 lock = repo.lock() |
54 try: |
54 try: |