Benoit Boissinot
125a85ec87
use new style classes
2009-06-10 15:10:21 +02:00
Matt Mackall
c1213eaf9d
commit: drop the now-unused files parameter
2009-06-01 14:11:32 -05:00
Matt Mackall
0649f988bf
gpg: use match.exact rather than files for commit
2009-06-01 13:51:21 -05:00
Martin Geisler
50e87afefd
gpg: use reverse kwarg to sort sigs in reversed order
2009-05-07 01:33:45 +02:00
Martin Geisler
e3185cd4af
Removed unnecessary call to dict.keys.
2009-05-06 23:35:20 +02:00
Giorgos Keramidas
c555bd60d4
gpg: fix traceback in revs{} display code
2009-05-06 20:30:46 +03:00
Martin Geisler
750183bdad
updated license to be explicit about GPL version 2
2009-04-26 01:08:54 +02:00
Matt Mackall
f6c8930392
replace various uses of list.reverse()
2009-04-26 16:50:44 -05:00
Matt Mackall
d4ab55a92b
status: clean up all users for unknown files
2008-06-27 13:43:29 -05:00
Thomas Arendsen Hein
66db9ab9a2
Document log date ranges and mention 'hg help dates' for all commands (issue998)
2008-02-22 21:18:48 +01:00
Thomas Arendsen Hein
a1c1677af4
Fix bad behaviour when specifying an invalid date (issue700)
...
commit (aborts _after_ typing in a commit message)
backout (aborted after the initial revert)
tag (edited .hgtags and couldn't commit)
import (patch applied, then commit fails)
qnew (aborts on bad dates, but writes any valid date into the # Date header)
qrefresh (like qnew)
sign (like tag)
fetch (merge, merge, merge, merge, abort)
2008-02-17 21:34:28 +01:00
Benoit Boissinot
74d4b3eb05
gpg: use the same log message format as hg tag
2007-10-20 03:04:34 +02:00
Benoit Boissinot
ce6a51c4eb
refactor options from cmdtable
...
- add extracommitopts for user and date
- factor stuff
2007-08-08 12:27:20 +02:00
Matt Mackall
c2967290a5
dirstate: add __contains__ and make __getitem__ more useful
...
dirstate.state(f) == '?' -> f not in dirstate
dirstate.state(f) -> dirstate[f]
2007-07-21 16:02:09 -05:00
Thomas Arendsen Hein
0b7147a667
Updated command tables in commands.py and hgext extensions.
...
- Marked for translation where extensions already had _()
- Corrected indentation
- fixed a few synopsises
2007-06-26 22:38:57 +02:00
Thomas Arendsen Hein
f2c2df1ab1
merge with crew-stable
2006-12-16 23:36:06 +01:00
Thomas Arendsen Hein
6857107023
Make 'hg sign' behave like other commands: Default to current parent.
2006-12-16 23:11:16 +01:00
Matt Mackall
296d6a7cb8
Simplify i18n imports
2006-12-14 20:25:19 -06:00
Vadim Gelfer
80d6f2f7c7
remove localrepository.changes.
...
use localrepository.status instead.
2006-08-12 16:40:12 -07:00
Thomas Arendsen Hein
ce9a04e13f
gpg extension: Always remove temporary files created by 'hg sigcheck'.
2006-05-09 13:26:16 +02:00
Thomas Arendsen Hein
092be2daa9
Use better names (hg-{usage}-{random}.{suffix}) for temporary files.
2006-04-30 21:11:22 +02:00
Benoit Boissinot
f35a4401dc
extension gpg.py: really raise the exception in case of invalid data
2006-02-02 19:22:27 +01:00
Benoit Boissinot
7993682c87
fix an exception in gpg.py with multiples sigs for the same cset
...
- silly error, do not overwrite the variable we use for iterating
- correct 'hg help sign'
2006-02-01 20:20:27 +01:00
Benoit Boissinot
3c3d3f47d2
fixes for gpg.py extension
...
- add copyright and license
- add i18n
- add 'sigs' command behaving like 'hg tags'
- change 'role' to 'comment' and output it only if there is one
- refactoring
2006-02-01 19:37:26 +01:00
Thomas Arendsen Hein
6e4eeabc49
Added missing space in output of gpg.py
2006-02-01 12:55:01 +01:00
Thomas Arendsen Hein
f5ef5dad07
Renamed c, a, d, u to modified, added, removed, unknown for users of changes()
2006-01-12 13:35:09 +01:00
Benoit Boissinot
799c1157bf
gpg signing extension for hg
...
the principle is almost the same as how tags work:
.hgsigs stores signatures, localsigs stores local signatures
the format of the signatures is:
nodeid sigversion base64_detached_sig
sigversion 0 signs simply the nodeid (maybe we would like
to sign other things in the future).
you can associate fingerprints with roles in hgrc like:
[gpg]
fingerprint_of_a_key_without_spaces = release
fingerprint_of_a_key_without_spaces = contributor, testing
the key used for signing can be specified on the command line or
via hgrc (key =)
thanks to Eric Hopper for testing and bugfixing
2005-12-16 11:12:08 -06:00