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
Patrick Mezard
67c45a2700
context: let workingctx.date(), .user() and description() be overriden
2008-06-18 22:52:26 +02:00
Matt Mackall
3fdaa5a42e
Use a weakref for recursive transactions
2007-07-21 16:02:10 -05:00
Thomas Arendsen Hein
1be2af280f
Abort on empty username so specifying a username can be forced.
...
This behaviour was introduced by d5601ef79d86 and broken by c608116532fe.
Added test for this.
2007-01-24 23:04:51 +01:00
Benoit Boissinot
3bad25e752
only print a warning when no username is specified
...
- revert most of 8b55c0ba
- display the username during interactive commit
2006-11-28 21:16:05 +01:00
Thomas Arendsen Hein
37655ca869
Commit username: Better error message, abort on empty name, fix documentation.
2006-10-23 14:56:51 +02:00
Benoit Boissinot
dc9483558a
makes username mandatory
2006-10-18 22:24:03 +02:00
Andrew Thompson
f0d3e098fb
Add tests/test-committer
...
This checks to see if the EMAIL environment variable is being used for commit.
2006-04-20 16:33:49 +02:00