Submitter | Chinmay Joshi |
---|---|
Date | June 16, 2014, 4:39 p.m. |
Message ID | <fd04c95539e530df23f2.1402936786@genesis> |
Download | mbox | patch |
Permalink | /patch/5010/ |
State | Superseded |
Commit | becb61de90a1a0384af535a393fb32e7da7a9059 |
Headers | show |
Comments
Patch
diff --git a/mercurial/hg.py b/mercurial/hg.py --- a/mercurial/hg.py +++ b/mercurial/hg.py @@ -315,7 +315,7 @@ if dstvfs.lexists(): if not dstvfs.isdir(): raise util.Abort(_("destination '%s' already exists") % dest) - elif os.listdir(dest): + elif dstvfs.listdir(): raise util.Abort(_("destination '%s' is not empty") % dest) srclock = destlock = cleandir = None