diff --git a/hgext/journal.py b/hgext/journal.py --- a/hgext/journal.py +++ b/hgext/journal.py @@ -342,7 +342,7 @@ with self.jlock(vfs): version = None # open file in amend mode to ensure it is created if missing - with vfs('namejournal', mode='a+b', atomictemp=True) as f: + with vfs('namejournal', mode='a+b') as f: f.seek(0, os.SEEK_SET) # Read just enough bytes to get a version number (up to 2 # digits plus separator)