log mercurial/transaction.py @ 46618:dde86beca388

age author description
Mon, 07 Dec 2020 11:23:34 +0100 Joerg Sonnenberger transaction: windows workaround for missing line iteration support
Fri, 27 Nov 2020 17:03:29 -0500 Augie Fackler formating: upgrade to black 20.8b1
Sat, 07 Nov 2020 22:31:29 +0100 Joerg Sonnenberger transaction: split new files into a separate set
Sat, 07 Nov 2020 21:34:09 +0100 Joerg Sonnenberger transaction: change list of journal entries into a dictionary
Sat, 07 Nov 2020 19:24:12 +0100 Joerg Sonnenberger transaction: rename find to findoffset and drop backup file support
Sat, 07 Nov 2020 17:56:01 +0100 Joerg Sonnenberger transaction: drop per-file extra data support
Mon, 12 Oct 2020 12:52:45 -0700 Martin von Zweigbergk transaction: use ProgrammingError for when an committed transaction is used
Sat, 29 Feb 2020 12:56:37 +0530 Pulkit Goyal transaction: add functionality to have multiple validators
Fri, 28 Feb 2020 00:17:26 +0100 Pierre-Yves David transaction: clarify the logic around pre-finalize/post-finalize
Fri, 28 Feb 2020 00:02:03 +0100 Pierre-Yves David transaction: move constant to upper case
Wed, 15 Jan 2020 15:47:03 +0100 Pierre-Yves David transaction: allow finalizer to add finalizer
Sat, 11 Jan 2020 05:44:58 +0100 Pierre-Yves David transaction: add a `hasfinalize` method
Fri, 08 Nov 2019 11:19:20 -0800 Augie Fackler cleanup: remove pointless r-prefixes on single-quoted strings
Mon, 07 Oct 2019 00:04:04 -0400 Gregory Szorc py3: finish porting iteritems() to pycompat and remove source transformer
Sun, 06 Oct 2019 09:48:39 -0400 Augie Fackler formatting: byteify all mercurial/ and hgext/ string literals
Sun, 06 Oct 2019 09:45:02 -0400 Augie Fackler formatting: blacken the codebase
Sat, 05 Oct 2019 09:57:00 -0400 Augie Fackler transaction: re-wrap line to avoid a black bug
Tue, 17 Sep 2019 14:01:26 -0700 Kyle Lippincott transaction: detect an attempt to truncate-to-extend on playback, raise error
Thu, 17 Jan 2019 09:17:12 -0800 Martin von Zweigbergk cleanup: delete lots of unused local variables
Sun, 23 Dec 2018 12:39:20 +0900 Yuya Nishihara transaction: do not overwrite atomic-temp files on error
Wed, 07 Nov 2018 19:59:38 +0100 Boris Feld transaction: display data about why the transaction failed to rollback
Mon, 17 Sep 2018 16:29:12 -0700 Gregory Szorc transaction: make entries a private attribute (API)
Mon, 17 Sep 2018 16:19:55 -0700 Gregory Szorc transaction: make names a private attribute
Mon, 17 Sep 2018 16:13:38 -0700 Gregory Szorc transaction: make map a private attribute
Mon, 17 Sep 2018 16:11:25 -0700 Gregory Szorc transaction: make report a private attribute
Mon, 17 Sep 2018 16:08:02 -0700 Gregory Szorc transaction: make opener a private attribute
Mon, 17 Sep 2018 16:04:52 -0700 Gregory Szorc transaction: make after a private attribute
Mon, 17 Sep 2018 16:02:53 -0700 Gregory Szorc transaction: make checkambigfiles a private attribute
Mon, 17 Sep 2018 16:01:22 -0700 Gregory Szorc transaction: make validator a private attribute
Mon, 17 Sep 2018 16:00:09 -0700 Gregory Szorc transaction: make releasefn a private attribute
Mon, 17 Sep 2018 15:57:32 -0700 Gregory Szorc transaction: make file a private attribute
Mon, 17 Sep 2018 15:55:57 -0700 Gregory Szorc transaction: make journal a private attribute
Mon, 17 Sep 2018 15:52:59 -0700 Gregory Szorc transaction: make undoname a private attribute
Mon, 17 Sep 2018 15:51:19 -0700 Gregory Szorc transaction: make count and usages private attributes
Fri, 09 Mar 2018 14:30:15 -0800 Martin von Zweigbergk transaction: add a name and a __repr__ implementation (API)
Sun, 04 Mar 2018 16:11:15 -0500 Augie Fackler transaction: fix an error string with bytestr() on a repr()d value
Wed, 17 Jan 2018 20:41:51 -0500 Augie Fackler transaction: fix hg version check when loading journal
Fri, 28 Jul 2017 22:42:10 -0700 Martin von Zweigbergk util: add base class for transactional context managers
Tue, 04 Jul 2017 23:13:47 +0900 FUJIWARA Katsunori transaction: apply checkambig=True only on limited files for similarity
Tue, 04 Jul 2017 23:13:46 +0900 FUJIWARA Katsunori transaction: avoid file stat ambiguity only for files in blacklist
Sun, 25 Jun 2017 10:38:45 -0700 Jun Wu strip: add a delayedstrip method that works in a transaction
Sat, 24 Jun 2017 21:13:48 -0700 Jun Wu rebase: clean up rebasestate from active transaction
Fri, 26 May 2017 13:27:21 -0700 Gregory Szorc transaction: delete callbacks after use
Fri, 10 Feb 2017 16:56:29 -0800 Martin von Zweigbergk cleanup: use set literals
Tue, 02 May 2017 18:31:18 +0200 Pierre-Yves David transaction: introduce "changes" dictionary to precisely track updates
Sun, 26 Mar 2017 16:59:30 -0700 Jun Wu transaction: use ProgrammingError
Thu, 22 Sep 2016 21:52:00 +0900 FUJIWARA Katsunori transaction: open a file with checkambig=True to avoid file stat ambiguity
Mon, 13 Jun 2016 05:11:56 +0900 FUJIWARA Katsunori transaction: avoid ambiguity of file stat at restoring from backup
Fri, 03 Jun 2016 00:44:20 +0900 FUJIWARA Katsunori transaction: avoid ambiguity of file stat at closing transaction
Sat, 16 Apr 2016 16:01:24 -0700 Pierre-Yves David style: remove namespace class
Sat, 16 Apr 2016 15:59:30 -0700 Pierre-Yves David style: don't use capital letter for constant
Sat, 16 Apr 2016 09:02:37 -0700 Gregory Szorc transaction: clear callback instances after usage
Thu, 07 Apr 2016 14:10:49 -0700 Durham Goode transaction: allow running file generators after finalizers
Tue, 19 Jan 2016 15:18:21 -0800 Durham Goode transaction: abort transaction during hook exception stable
Fri, 15 Jan 2016 13:14:47 -0800 Bryan O'Sullivan transaction: turn a transaction into a Python context manager
Wed, 06 Jan 2016 11:12:09 -0800 Martin von Zweigbergk transaction: remove 'if True:'
Sat, 17 Oct 2015 15:28:02 -0500 Matt Mackall spelling: fix typo in transaction error messages
Fri, 16 Oct 2015 03:29:51 +0900 FUJIWARA Katsunori transaction: reorder unlinking .hg/journal and .hg/journal.backupfiles
Thu, 08 Oct 2015 12:55:45 -0700 Pierre-Yves David error: get Abort from 'error' instead of 'util'
Fri, 09 Oct 2015 03:53:46 +0900 FUJIWARA Katsunori transaction: add releasefn to notify the end of a transaction scope
Sat, 08 Aug 2015 20:10:23 -0700 Gregory Szorc transaction: use absolute_import
Tue, 23 Jun 2015 22:20:08 -0700 Gregory Szorc global: mass rewrite to use modern exception syntax
Tue, 23 Jun 2015 22:30:33 -0700 Gregory Szorc global: mass rewrite to use modern octal syntax
Wed, 27 May 2015 17:41:42 -0500 Matt Mackall merge with stable
Tue, 26 May 2015 13:02:28 -0700 Pierre-Yves David transaction: really fix _addbackupentry key usage (issue4684) stable
Sat, 23 May 2015 15:55:04 -0500 Matt Mackall merge with stable
Fri, 22 May 2015 12:13:18 -0500 Pierre-Yves David transaction: use the proper variable in '_addbackupentry' (issue4684) stable
Mon, 18 May 2015 15:38:24 -0500 Pierre-Yves David recover: catch any exception, not just Exception
Tue, 14 Apr 2015 10:59:26 -0400 Michael O'Connor transaction: add missing newline to message
Mon, 09 Mar 2015 22:43:36 -0700 Pierre-Yves David transaction: add a validation stage
Fri, 16 Jan 2015 18:34:14 -0800 Pierre-Yves David transaction: include backup file in the "undo" transaction
Fri, 16 Jan 2015 19:35:04 -0800 Pierre-Yves David transaction: pass the name of the "undo" journal to the transaction
Fri, 16 Jan 2015 14:54:24 -0800 Pierre-Yves David transaction: clarify the name of 'journal' argument for transaction
Mon, 05 Jan 2015 12:44:15 -0800 Pierre-Yves David transaction: use 'util.copyfile' for creating backup
Tue, 06 Jan 2015 21:56:33 -0800 Gregory Szorc transaction: support for callbacks during abort
Mon, 05 Jan 2015 15:00:02 -0800 Pierre-Yves David transaction: use the right location when cleaning up backup file (issue4479)
Mon, 15 Dec 2014 13:32:34 -0800 Pierre-Yves David vfs: add a 'split' method
Mon, 15 Dec 2014 13:27:46 -0800 Pierre-Yves David vfs: add a 'reljoin' function for joining relative paths
Thu, 17 Apr 2014 22:47:38 +0200 Mads Kiilerich spelling: fixes from proofreading of spell checker issues
Thu, 04 Dec 2014 13:52:46 -0800 Pierre-Yves David transaction: remove the 'onabort' mechanism
Thu, 04 Dec 2014 13:51:41 -0800 Pierre-Yves David transaction: remove the redundant 'onclose' mechanism
Fri, 17 Oct 2014 22:19:05 -0700 Pierre-Yves David transaction: write pending generated files
Fri, 17 Oct 2014 21:57:32 -0700 Pierre-Yves David transaction: have _generatefile return a boolean
Mon, 29 Sep 2014 01:29:08 -0700 Pierre-Yves David transaction: allow generating files with a suffix
Wed, 19 Nov 2014 09:52:05 -0600 Matt Mackall transaction: fix some docstring grammar
Wed, 12 Nov 2014 14:57:41 +0000 Pierre-Yves David transaction: accept a 'location' argument for registertmp
Wed, 12 Nov 2014 14:47:48 +0000 Pierre-Yves David transaction: drop special handling for phases and bookmarks generation
Fri, 17 Oct 2014 20:53:42 -0700 Pierre-Yves David transaction: use 'location' instead of 'vfs' objects for file generation
Wed, 05 Nov 2014 01:59:32 +0000 Pierre-Yves David transaction: use 'location' instead of 'vfs' in the addbackup method
Fri, 14 Nov 2014 00:14:23 +0000 Pierre-Yves David addbackup: handle file in subdirectory
Fri, 14 Nov 2014 14:54:55 +0000 Pierre-Yves David addbackup: use the vfs for the backup destination too
Thu, 13 Nov 2014 11:17:36 +0000 Pierre-Yves David transaction: set backupentries version to proper value
Thu, 13 Nov 2014 11:17:09 +0000 Pierre-Yves David transaction: support cache file in backupentries
Fri, 17 Oct 2014 21:04:35 -0700 Pierre-Yves David transaction: use the location value when doing backup
Fri, 17 Oct 2014 20:49:39 -0700 Pierre-Yves David transaction: pass a vfs map to the transaction
Wed, 05 Nov 2014 01:52:46 +0000 Pierre-Yves David transaction: change the on disk format for backupentries
Wed, 05 Nov 2014 09:27:08 +0000 Pierre-Yves David transaction: allow registering a temporary transaction file
Thu, 13 Nov 2014 10:22:47 +0000 Pierre-Yves David transaction: always generate file on close
Wed, 05 Nov 2014 13:06:24 +0000 Pierre-Yves David transaction: extract backupentry registration in a dedicated function
Sat, 08 Nov 2014 16:35:15 +0000 Pierre-Yves David transaction: pass the transaction to 'postclose' callback
Sat, 08 Nov 2014 16:31:38 +0000 Pierre-Yves David transaction: pass the transaction to 'finalize' callback
Sat, 08 Nov 2014 16:27:50 +0000 Pierre-Yves David transaction: pass the transaction to 'pending' callback
Wed, 05 Nov 2014 10:22:17 +0000 Pierre-Yves David transaction: gather backupjournal logic together in the __init__
Wed, 05 Nov 2014 01:38:48 +0000 Pierre-Yves David transaction: handle missing file in backupentries (instead of using entries)
Wed, 05 Nov 2014 10:13:01 +0000 Pierre-Yves David transaction: factorise append-only file registration
Wed, 05 Nov 2014 13:00:48 +0000 Pierre-Yves David transaction: document `tr.add`
Wed, 05 Nov 2014 10:05:38 +0000 Pierre-Yves David transaction: drop backupentries logic from startgroup and endgroup
Wed, 05 Nov 2014 10:00:15 +0000 Pierre-Yves David transaction: document startgroup and endgroup
Wed, 05 Nov 2014 09:31:57 +0000 Pierre-Yves David transaction: mark backup-related attributes private
Wed, 05 Nov 2014 01:30:29 +0000 Pierre-Yves David transaction: document the contents of `tr.backupentries`
Wed, 05 Nov 2014 01:33:16 +0000 Pierre-Yves David transaction: drop the third item in `tr.backupentries`
Tue, 28 Oct 2014 14:24:43 +0100 Pierre-Yves David transaction: allow registering a post-close callback
Fri, 17 Oct 2014 22:28:09 -0700 Pierre-Yves David transaction: allow registering a finalization callback
Fri, 17 Oct 2014 21:19:54 -0700 Pierre-Yves David transaction: add 'writepending' logic
Fri, 17 Oct 2014 21:25:48 -0700 Pierre-Yves David transaction: only generate file when we actually close the transaction stable
Mon, 29 Sep 2014 00:59:25 -0700 Pierre-Yves David transaction: extract file generation into its own function stable
Tue, 21 Oct 2014 12:38:28 -0700 Durham Goode transactions: change backupfiles format to use newlines stable
Tue, 21 Oct 2014 11:37:29 -0700 Durham Goode transactions: add version number to journal.backupfiles stable
Mon, 20 Oct 2014 16:53:56 -0700 Durham Goode transactions: fix hg recover with fncache backups stable
Sun, 28 Sep 2014 00:36:42 -0700 Pierre-Yves David transaction: allow generating file outside of store
Wed, 01 Oct 2014 21:40:44 -0500 Pierre-Yves David transaction: work around and document issue with file backup
Fri, 15 Aug 2014 04:37:46 +0200 Mads Kiilerich cleanup: name unused variables using convention of leading _
Fri, 15 Aug 2014 16:20:47 +0200 Mads Kiilerich cleanup: avoid _ for local unused tmp variables - that is reserved for i18n
Thu, 07 Aug 2014 14:40:02 -0700 Pierre-Yves David transaction: add a file generation mechanism
Thu, 07 Aug 2014 10:54:17 -0700 Pierre-Yves David transaction: backup file in a dedicated "namespace"
Thu, 07 Aug 2014 11:56:32 -0700 Pierre-Yves David transaction: use `self.journal` to create backup file
Wed, 30 Apr 2014 15:36:38 -0700 Durham Goode transaction: fix file descriptor leak for journal.backupfiles stable
Thu, 17 Apr 2014 17:04:59 -0400 Pierre-Yves David transaction: add a notion of hook arguments
Wed, 02 Apr 2014 13:41:23 -0500 Matt Mackall transaction: drop extra import caught by pyflakes
Mon, 24 Mar 2014 15:21:51 -0700 Durham Goode transaction: add support for non-append files
Mon, 24 Mar 2014 15:57:47 -0700 Durham Goode transaction: add onclose/onabort hook for pre-close logic
Mon, 17 Feb 2014 14:49:56 -0600 Matt Mackall journal: report parsing errors on recover/rollback (issue4172)
Tue, 12 Nov 2013 16:23:52 +0900 FUJIWARA Katsunori transaction: take journal file path relative to vfs to use file API via vfs
Tue, 12 Nov 2013 16:23:52 +0900 FUJIWARA Katsunori transaction: unlink target file via vfs
Wed, 15 Aug 2012 22:38:42 +0200 Mads Kiilerich fix trivial spelling errors
Sat, 12 May 2012 16:02:46 +0200 Brodie Rao cleanup: replace naked excepts with except Exception: ...
Tue, 15 Feb 2011 14:41:49 +0100 Adrian Buehlmann transaction: use posixfile and unlink from util
Fri, 24 Dec 2010 15:23:01 +0100 Dan Villiom Podlaski Christiansen explicitly close files
Mon, 26 Jul 2010 22:29:49 +0200 Patrick Mezard cleanup: typos
Thu, 27 May 2010 17:47:40 +0200 Ronny Pfannschmidt make transactions work on non-refcounted python implementations
Mon, 25 Jan 2010 00:05:27 -0600 Matt Mackall many, many trivial check-code fixups
Tue, 19 Jan 2010 22:20:08 -0600 Matt Mackall Update license to GPLv2+ stable
Mon, 11 Jan 2010 21:40:19 +0100 Benoit Boissinot transaction: initialize self.journal to None after deletion stable
Mon, 02 Nov 2009 10:19:14 +0100 Sune Foldager transaction: always remove empty journal on abort
Sat, 31 Oct 2009 18:17:59 +0100 Benoit Boissinot transaction: more specific exceptions, os.unlink can raise OSError
Tue, 21 Jul 2009 20:31:45 -0400 Greg Ward transaction: document close(), abort() methods
Tue, 07 Jul 2009 19:24:52 +0200 Henrik Stuart transaction: fix uncaught ENOENT (issue1724)
Mon, 11 May 2009 21:12:40 +0200 Henrik Stuart transaction: add atomic groups to transaction logic
Mon, 04 May 2009 15:31:57 +0200 Henrik Stuart transaction: refactor transaction.abort and rollback to use the same code
Sun, 19 Apr 2009 20:02:32 +0200 Henrik Stuart transaction: reset transaction on abort
Fri, 24 Apr 2009 09:56:53 +0200 Henrik Stuart transaction: ensure finished transactions are not reused
Sun, 26 Apr 2009 01:08:54 +0200 Martin Geisler updated license to be explicit about GPL version 2
Thu, 16 Apr 2009 15:41:25 +0200 Henrik Stuart transaction: only delete journal on successful abort/commit
Fri, 07 Nov 2008 18:42:43 +0100 Benoit Boissinot add missing import from 618140c75d8d
Fri, 07 Nov 2008 18:41:22 +0100 Benoit Boissinot fix restart of interrupted recover
Mon, 31 Mar 2008 23:02:25 -0700 Brendan Cully rollback: unlink files truncated to length 0
Sat, 09 Feb 2008 18:38:54 -0200 Alexis S. L. Carvalho make the journal/undo files from transactions inherit the mode from .hg/store
Wed, 16 Jan 2008 11:32:25 -0600 Matt Mackall transactions: don't show a backtrace when journal exists
Thu, 14 Dec 2006 20:25:19 -0600 Matt Mackall Simplify i18n imports
Wed, 13 Dec 2006 13:27:09 -0600 Matt Mackall Replace demandload with new demandimport
Sat, 12 Aug 2006 12:30:02 -0700 Vadim Gelfer update copyrights.
Tue, 20 Jun 2006 23:58:21 -0700 Vadim Gelfer use demandload more.
Mon, 17 Apr 2006 13:19:58 -0400 Chris Mason Fix transaction handling during interleaved file split.
Tue, 28 Feb 2006 12:24:54 -0600 mason Automatic nesting into running transactions in the same repository.
Fri, 18 Nov 2005 22:48:47 -0800 Eric Hopper Convert all classes to new-style classes by deriving them from object.
Mon, 14 Nov 2005 03:59:35 +0200 twaldmann fixed some stuff pychecker shows, marked unclear/wrong stuff with XXX
Tue, 18 Oct 2005 18:38:39 -0700 Benoit Boissinot i18n part2: use '_' for all strings who are part of the user interface
Tue, 18 Oct 2005 18:37:48 -0700 Benoit Boissinot i18n first part: make '_' available for files who need it
Fri, 26 Aug 2005 19:08:25 -0700 Bart Trojanowski [PATCH] raise exceptions with Exception subclasses
Fri, 26 Aug 2005 13:06:58 +0200 benoit boissinot pep-0008 cleanup
Sat, 30 Jul 2005 09:00:14 -0800 mpm Merge with BOS
Sat, 30 Jul 2005 08:35:29 -0800 mpm Merge with TAH
Fri, 29 Jul 2005 06:43:21 +0100 Thomas Arendsen Hein Merge with upstream
Wed, 27 Jul 2005 18:16:20 -0800 mpm Fix undo after aborted commit bug
Sat, 02 Jul 2005 18:57:59 -0800 mpm Remove all remaining print statements
Sat, 02 Jul 2005 13:16:42 -0800 mpm transaction: nullify journal after close()
Fri, 01 Jul 2005 09:01:07 -0800 mpm transaction: __del__ should do nothing if the journal already exists
Wed, 29 Jun 2005 10:42:35 -0800 mpm Whitespace cleanups
Tue, 21 Jun 2005 21:04:49 -0800 mpm Pull from TAH
Tue, 21 Jun 2005 19:36:35 -0800 mpm [PATCH] rename under the other OS
Thu, 26 May 2005 09:04:54 -0800 mpm Implement recover and undo commands
Fri, 20 May 2005 17:20:39 -0800 mpm Warn if we fail to truncate something
Wed, 18 May 2005 16:31:51 -0800 mpm Beginnings of transaction undo support
Tue, 10 May 2005 00:32:05 -0800 mpm Attempt to recover journal automatically
Tue, 10 May 2005 00:31:00 -0800 mpm Fix multiple changes to file per transaction
Wed, 04 May 2005 09:32:39 -0800 mpm Fix empty transaction destruction
Wed, 04 May 2005 09:30:56 -0800 mpm Delete journal on destruction even if there are no entries to replay.
Tue, 03 May 2005 13:16:10 -0800 mpm Add back links from file revisions to changeset revisions