- May 01, 2011
-
-
Alexander Solovyov authored
-
- May 07, 2011
-
-
Idan Kamara authored
so it's possible to run tests that are outside the test/ dir
-
Idan Kamara authored
-
Adrian Buehlmann authored
-
Adrian Buehlmann authored
-
- May 08, 2011
-
-
Patrick Mezard authored
-
Patrick Mezard authored
Also, create an artificial wdutil.py to avoid import cycles between patch.py and cmdutil.py.
-
Patrick Mezard authored
-
Patrick Mezard authored
It already works that way in practice, and we intend to merge updatedir() into patch().
-
- May 06, 2011
-
-
Idan Kamara authored
It's safe to do so if the sets of changed files in the working copy and patches are disjoint.
-
Idan Kamara authored
returns the set of all changed files in a given patch
-
- May 07, 2011
-
-
Sune Foldager authored
For generaldelta revlogs, reporting the deltaparent instead of the chain base makes more sense, since that's what's actually stored in the revlog.
-
Sune Foldager authored
Generaldelta is a new revlog global flag. When it's turned on, the base field of each revision entry holds the deltaparent instead of the base revision of the current delta chain. This allows for great potential flexibility when generating deltas, as any revision can serve as deltaparent. Previously, the deltaparent for revision r was hardcoded to be r - 1. The base revision of the delta chain can still be accessed as before, since it is now computed in an iterative fashion, following the deltaparents backwards.
-
Sune Foldager authored
This is in preparation for generaldelta, where the revlog entry base field is reinterpreted as the deltaparent. For that reason we also rename the base function to chainbase. Without generaldelta, performance is unaffected, but generaldelta will suffer from this in _addrevision, since delta chains will be walked repeatedly. A cache has been added to eliminate this problem completely.
-
Sune Foldager authored
Most of it was removed in e7483ec3c374, but a few pieces were accidentally left behind.
-
Patrick Mezard authored
writefile() and appendfile() are already working that way.
-
Patrick Mezard authored
This will be necessary once util.readfile() operates in binary mode. While changelog.add() already normalizes the message, doing so in logmessage() is required as ui.edit() or others expect messages with LF only.
-
Patrick Mezard authored
We want util.readfile() to operate in binary mode, so EOLs have to be handled correctly depending on the platform. It seems both easier and more convenient to treat LF and CRLF the same way on all platforms.
-
Patrick Mezard authored
-
Patrick Mezard authored
-
- May 02, 2011
-
-
Augie Fackler authored
-
- May 06, 2011
-
-
Augie Fackler authored
The new http library is wired in via an extra module (httpconnection.py), as it requires similar but different plumbing to connect the library to Mercurial's internals and urllib2. Eventualy we should be able to remove all of keepalive.py and its associated tangle in url.py and replace it all with the code in httpconnection.py. To use the new library, set 'ui.usehttp2' to true. The underlying http library uses the logging module liberally, so if things break you can use 'ui.http2debuglevel' to set the log level to INFO or DEBUG to get that logging information (for example, ui.http2debuglevel=info.)
-
Augie Fackler authored
This is revision a4229f13c374 of http://py-nonblocking-http.googlecode.com/ with a no-check-code comment added to the end of each file using `for fi in $(hg manifest | grep mercurial/httpclient/) ; echo '# no-check-code' >> $fi`.
-
Wagner Bruna authored
-
Idan Kamara authored
-
Idan Kamara authored
-
Idan Kamara authored
-
Matt Mackall authored
-
Adrian Buehlmann authored
-
Adrian Buehlmann authored
-
Adrian Buehlmann authored
-
Adrian Buehlmann authored
-
Adrian Buehlmann authored
-
Adrian Buehlmann authored
-
Adrian Buehlmann authored
-
Adrian Buehlmann authored
-
Adrian Buehlmann authored
-
Adrian Buehlmann authored
-
Adrian Buehlmann authored
-
Adrian Buehlmann authored
-