[Bug 3591] New: record shouldn't touch the working directory
bugzilla-daemon at bz.selenic.com
bugzilla-daemon at bz.selenic.com
Tue Aug 14 16:04:42 CDT 2012
http://bz.selenic.com/show_bug.cgi?id=3591
Priority: normal
Bug ID: 3591
CC: mercurial-devel at selenic.com
Assignee: bugzilla at selenic.com
Summary: record shouldn't touch the working directory
Severity: bug
Classification: Unclassified
OS: All
Reporter: bos at serpentine.com
Hardware: All
Status: UNCONFIRMED
Version: 2.2.1
Component: record
Product: Mercurial
The current implementation of record is clowny: it saves backup files, applies
a trimmed-down patch, then restores the backup files to leave the working
directory in the same state as before. We have a few bugs as a result of this,
and it's also somewhat ridiculous as an implementation method.
Mercurial now has APIs that allow commits to be constructed in memory (memctx
and friends). The implementation of record should be switched over to this.
This has been on the "someone ought to do it" list for a long time, so best
capture it in a findable place.
--
You are receiving this mail because:
You are on the CC list for the bug.
More information about the Mercurial-devel
mailing list