do a try...except on the remote = Repository(...) initialization. Check if there is no side-effect + add tests
- remote = Repository(parentui, localui.expandpath('default'))
+ try:
+ remote = Repository(parentui, localui.expandpath('default'))
+ ...
+ except RepoError:
+ # FIXME #8391: not_up_to_date on non-cloned repository
+ pass
| |
| priority | normal |
|---|---|
| type | bug |
| appeared in | <not specified> |
| done in | <not specified> |
| load | 0.200 |
| load left | 0.000 |
| closed by | <not specified> |


#8383 manage licenses files by version
Comments
-
2009/04/23 10:12, written by anon
| reply to this comment
(add comment)are you kidding? Hiding pb like this is, as premature optimization, the root of all evil. Calling not_update_to_date to a remote repository should raise an error as the feature is not available, not pretending it worked but no changes were found.