Siddharth Agarwal
03baaaa2e8
node: add 'nullhex', hex-encoded nullid
...
We're going to need this for upcoming changes, because the merge state stores
nodes as hex strings.
2015-11-16 11:23:32 -08:00
Gregory Szorc
0e13f773a9
node: use absolute_import
2015-08-08 19:43:24 -07:00
Yuya Nishihara
83b08b045e
node: define experimental identifiers for working directory
...
The "ff..." node was introduced at 187c3ec3d83f, and we also need an integer
that can be processed in revset. We could use len(repo), but it would be
likely to hide possible bugs. Instead, using INT_MAX, we can notice such bugs
by IndexError, at the cost of handling non-contiguous revisions.
2015-06-22 22:01:33 +09:00
Matt Mackall
595d66f424
Update license to GPLv2+
2010-01-19 22:20:08 -06:00
Martin Geisler
8e4bc1e9ad
put license and copyright info into comment blocks
2009-04-26 01:13:08 +02:00
Martin Geisler
750183bdad
updated license to be explicit about GPL version 2
2009-04-26 01:08:54 +02:00
Matt Mackall
f7f7d43737
manifest: speed up creation of the manifestdict
...
- fold iteration and rawset into parse
- avoid creating extra new strings with [:] where possible
- speed up node.bin
2007-07-23 20:44:08 -05:00
Matt Mackall
f17a4e1934
Replace demandload with new demandimport
2006-12-13 13:27:09 -06:00
Thomas Arendsen Hein
687e4a7111
Define and use nullrev (revision of nullid) instead of -1.
2006-10-29 10:53:51 +01:00
Vadim Gelfer
dc377b58c1
update copyrights.
2006-08-12 12:30:02 -07:00
Vadim Gelfer
9a0c813fdc
use demandload more.
2006-06-20 23:58:21 -07:00
twaldmann@thinkmo.de
55d74a6b77
fixed some stuff pychecker shows, marked unclear/wrong stuff with XXX
2005-11-14 03:59:35 +02:00
mpm@selenic.com
23905ee52b
Move hash function back to revlog from node
2005-08-27 14:43:20 -07:00
mpm@selenic.com
e175fdde9b
Break apart hg.py
...
- move the various parts of hg.py into their own files
- create node.py to store node manipulation functions
2005-08-27 14:21:25 -07:00