branch | stable |
changeset 12342 | 70236d6fd844 |
parent 11950 | d157e040ac4c |
child 12345 | e0ee3e822a9a |
--- a/mercurial/cmdutil.py Mon Sep 20 21:42:11 2010 +0200 +++ b/mercurial/cmdutil.py Mon Sep 20 21:46:39 2010 +0200 @@ -378,7 +378,7 @@ return # check for overwrites - exists = os.path.exists(target) + exists = os.path.lexists(target) if not after and exists or after and state in 'mn': if not opts['force']: ui.warn(_('%s: not overwriting - file exists\n') %