Commit Graph

8440 Commits

Author SHA1 Message Date
Benoit Boissinot
3f0d683495 store: use set instead of dict 2009-05-17 04:16:44 +02:00
Benoit Boissinot
f23fc93dd5 verify: use set instead of dict 2009-05-17 04:14:15 +02:00
Benoit Boissinot
1f59ef6f81 ancestor: use set instead of dict 2009-05-17 03:53:13 +02:00
Benoit Boissinot
c97e6590bb revlog: use set instead of dict 2009-05-17 03:49:59 +02:00
Benoit Boissinot
dbf61e11b8 bisect: use set instead of dict 2009-05-17 03:40:54 +02:00
Benoit Boissinot
21c663ad08 repair: use set instead of dict 2009-05-17 03:38:03 +02:00
Benoit Boissinot
a59b10003e patch: use set instead of dict 2009-05-17 03:28:49 +02:00
Benoit Boissinot
0945c3cb8c record: use set instead of dict 2009-05-17 03:26:08 +02:00
Benoit Boissinot
a3e85af994 hgk: use set instead of dict 2009-05-17 03:25:24 +02:00
Benoit Boissinot
7351fa50d5 convert: cleanups in monotone converter 2009-05-17 03:19:00 +02:00
Benoit Boissinot
17d5aba397 merge with crew 2009-05-17 03:14:37 +02:00
Benoit Boissinot
04ba054816 convert: use set instead of dict 2009-05-17 03:04:17 +02:00
Benoit Boissinot
113cb64fdf bugzilla: use set instead of dict 2009-05-17 03:02:12 +02:00
Benoit Boissinot
2768c86b11 rebase: use set instead of dict 2009-05-17 02:55:22 +02:00
Benoit Boissinot
c8bc34d692 revlog.missing(): use sets instead of a dict 2009-05-17 02:44:12 +02:00
Martin Geisler
9b272e271a tests: add missing interpreter lines 2009-05-17 02:15:21 +02:00
Martin Geisler
c40b8bf294 cvsnt-mergepoints test: use sh instead of bash 2009-05-17 02:10:09 +02:00
Martin Geisler
aedc0ac57f tests: removed unnecessary execute bit on Python tests 2009-05-17 01:42:21 +02:00
Martin Geisler
a645da9ed1 tests: renamed Python tests to .py 2009-05-17 01:39:31 +02:00
Martin Geisler
5930e2185d tests: renamed helper to avoid clash with stdlib repr module 2009-05-17 02:31:12 +02:00
Martin Geisler
9aedf5dabd tests: fix doc string in get-with-headers.py 2009-05-17 01:24:45 +02:00
Marti Raudsepp
1d10c4d979 tests: use repr.py to avoid binary characters in test output 2009-05-17 01:16:56 +02:00
Martin Geisler
4bdb838b6b tests: new helper for tests with binary output 2009-05-17 01:10:35 +02:00
Greg Ward
dd681d84e9 convert: improve docstrings, comments. 2009-05-16 14:15:58 -04:00
Martin Geisler
b43ec973e1 changelog: turn {de,en}code_extra methods into functions
The methods were not really methods -- they didn't use 'self'. Having
them as functions in the module it useful for other modules (like the
commitsigs extension) that want to recompute the changeset hash and
thus want to encode dicts the same way as changelog does it.

Removed the underbars from their names at the same time.
2009-05-15 01:21:24 +02:00
Martin Geisler
f138e91851 merge with crew-stable 2009-05-16 11:16:23 +02:00
Martin Geisler
fc8a97dac3 changelog: refuse to add revisions with empty usernames
An empty username or a username with a "\n" will make the revision
text contain two "\n\n" sequences -> corrupt repository.

The problem is that changelog.read expects to find exactly one "\n\n"
separator and thus cannot unpack the revision.
2009-05-16 11:12:49 +02:00
Martin Geisler
ee6f4bf040 contrib/win32: add simple style sheet 2009-05-16 08:46:42 +02:00
Martin Geisler
449d0084f2 contrib/win32: updated title of the hgbook 2009-05-16 08:38:04 +02:00
Martin Geisler
c08fe914b5 contrib/win32: format file names and env vars with <tt> 2009-05-16 08:37:06 +02:00
Martin Geisler
caab648bf1 contrib/win32: indent and word wrap consistently 2009-05-16 08:33:23 +02:00
Martin Geisler
d3744da5b7 contrib/win32: add missing <p> tags 2009-05-16 08:26:36 +02:00
Martin Geisler
5cd17cb3ee contrib/win32: fix HTML tag nesting 2009-05-16 08:22:30 +02:00
Patrick Mezard
d3d9100f4a convert/bzr: fix symlinks target (issue1626/2) 2009-05-15 16:12:09 +02:00
Adrian Buehlmann
93dfb394e2 contrib/win32: license is GPLv2 only
according to Matt Mackall
2009-05-15 13:59:43 +02:00
Patrick Mezard
8a575f0b78 Merge with crew-stable 2009-05-15 16:17:56 +02:00
Dirkjan Ochtman
1e9b20dc8f mq: qpush shouldn't complain if working dir is at a non-tip head 2009-05-15 15:21:17 +02:00
Dirkjan Ochtman
f9ccb5f95a contrib: add tmplrewrite.py script to help rewrite old templater syntax 2009-05-15 10:47:19 +02:00
Dirkjan Ochtman
42214607df spartan: use newer template syntax everywhere 2009-05-15 10:47:13 +02:00
Dirkjan Ochtman
8a34c657f7 monoblue: use newer template syntax everywhere 2009-05-15 10:47:05 +02:00
Dirkjan Ochtman
daf1f83687 raw: use newer template syntax everywhere 2009-05-15 10:46:59 +02:00
Dirkjan Ochtman
5d9bd0d9a8 atom/rss: use newer template syntax everywhere 2009-05-15 10:46:52 +02:00
Dirkjan Ochtman
bf8449b8b4 git: use newer template syntax everywhere 2009-05-15 10:46:39 +02:00
Martin Geisler
49d93faf0c changelog: removed bad default arguments in add method
The arguments defaulted to None, but

- user cannot be None since it is immediately stripped.

- p1 and p2 cannot be None since they are passed directly to
  revlog.addrevision, where they are mandatory.
2009-05-15 00:55:14 +02:00
Martin Geisler
aed75cf65f util: import random, missing since 5c703a28d882 2009-05-14 22:59:12 +02:00
Sune Foldager
adc90b2605 posixfile: remove posixfile_nt and fix import bug in windows.py
The posixfile_nt class has been superseded by posixfile in osutils.c,
which works on Windows NT and above. All other systems get the regular
python file class which is assigned to posixfile in posix.py (for POSIX)
and in the pure python version of osutils.py (for Win 9x or Windows NT
in pure mode).
2009-05-13 21:36:16 +02:00
Bryan O'Sullivan
496cd5e84c util: make atomictempfile saner if mktempcopy fails 2009-05-14 14:12:32 -07:00
Martin Geisler
2cd0933d15 merged with crew-stable 2009-05-14 23:05:16 +02:00
Brett Carter
d69cd3912f clone: try updating to the actual changeset specified in options
When cloning with the -r option or # url format from a tag the destination
repo most likely won't have the tag. We can save the lookup result to get to
the correct parent anyway. Similar to issue1306, but for tags.
2009-05-14 22:00:56 +02:00
Matt Mackall
1317ac7a01 commit: hoist the rest of the dirstate manipulation out of commitctx 2009-05-14 13:24:39 -05:00