Mercurial > public > mercurial-scm > hg
comparison mercurial/transaction.py @ 23355:7faa55c20b0e
transaction: fix some docstring grammar
author | Matt Mackall <mpm@selenic.com> |
---|---|
date | Wed, 19 Nov 2014 09:52:05 -0600 |
parents | 918c77775df6 |
children | 140c21fbf4eb |
comparison
equal
deleted
inserted
replaced
23354:918c77775df6 | 23355:7faa55c20b0e |
---|---|
226 | 226 |
227 @active | 227 @active |
228 def registertmp(self, tmpfile, location=''): | 228 def registertmp(self, tmpfile, location=''): |
229 """register a temporary transaction file | 229 """register a temporary transaction file |
230 | 230 |
231 Such file will be delete when the transaction exit (on both failure and | 231 Such files will be deleted when the transaction exits (on both |
232 success). | 232 failure and success). |
233 """ | 233 """ |
234 self._addbackupentry((location, '', tmpfile, False)) | 234 self._addbackupentry((location, '', tmpfile, False)) |
235 | 235 |
236 @active | 236 @active |
237 def addfilegenerator(self, genid, filenames, genfunc, order=0, | 237 def addfilegenerator(self, genid, filenames, genfunc, order=0, |