--- a/hgext/record.py Mon Aug 06 12:53:17 2007 -0700+++ b/hgext/record.py Mon Aug 06 12:53:49 2007 -0700@@ -327,8 +327,8 @@ try: os.mkdir(backupdir) except OSError, err:- if err.errno == errno.EEXIST:- pass+ if err.errno != errno.EEXIST:+ raise try: for f in newfiles: if f not in modified: