transaction: use `self.journal` to create backup file
Transaction journal name is "journal" in most case, but it can be something else.
We use the appropriate attribute to create the file.
--- a/mercurial/transaction.py Tue Jun 17 20:55:06 2014 -0700
+++ b/mercurial/transaction.py Thu Aug 07 11:56:32 2014 -0700
@@ -154,7 +154,7 @@
if file in self.map or file in self.backupmap:
return
- backupfile = "journal.%s" % file
+ backupfile = "%s.%s" % (self.journal, file)
if self.opener.exists(file):
filepath = self.opener.join(file)
backuppath = self.opener.join(backupfile)