mercurial/util.py
changeset 9548 7732606b0767
parent 9544 b6b0c42739e9
child 9549 8b8920209317
--- a/mercurial/util.py	Mon Oct 05 18:17:13 2009 -0400
+++ b/mercurial/util.py	Wed Oct 07 20:16:43 2009 +0200
@@ -400,7 +400,7 @@
     return True
 
 def rename(src, dst):
-    """forcibly rename a file"""
+    '''atomically rename file src to dst, replacing dst if it exists'''
     try:
         os.rename(src, dst)
     except OSError, err: # FIXME: check err (EEXIST ?)