Patrick Mezard
e8a232c5c8
Show added files as "added" in editor commit message (issue 1330)
2008-10-09 14:16:17 +02:00
Gilles Moris
5d85996f85
Have verbose and debug flag print the changeset rev and hash when committing.
...
Besides updating the tests output, I had to push back at the end the test for
issue1193 in test-commit, solved by cset 31a0a36d6d95, because it was using the
current date for commit and was randomizing the subsequent hash.
2008-08-22 22:32:53 +02:00
Patrick Mezard
a8ac103268
Backed out changeset 0f390189b058
...
Replace this change with a better one.
2008-08-24 22:13:39 +02:00
Gilles Moris
4c144a2f64
Have verbose flag print the changeset hash when committing
2008-08-22 13:25:35 +02:00
Bryan O'Sullivan
c8e33b9c63
Tests for issue 1049
2008-03-24 15:50:58 -07: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
Alexis S. L. Carvalho
d3f4694609
cmdutil.commit: use relative paths in the error messages
...
This is more consistent with other error messages and requires
less makeup in test-commit and test-symlink-basic.
2008-02-15 10:38:37 -02:00
Alexis S. L. Carvalho
85673c1586
status: put added files that have disappeared in the deleted list
...
This gives the user an indication that something went wrong with this file:
$ hg add foo
$ rm foo
$ hg status foo
! foo
Fixes issue212.
2008-02-14 18:08:16 -02:00
Thomas Arendsen Hein
8dbd54d63d
Clarify some messages during commit:
...
- use "branch 'foo'" to distinguish from "branch merge".
- commit messags can be empty (to abort commits)
- Added value for editor message: Tell about HG: lines like CVS does.
2007-12-28 17:10:25 +01:00
Patrick Mezard
d9be0f3383
Prompt for a commit message in editor, improve error message
2007-12-28 14:51:16 +01:00
Matt Mackall
3dfe783ec5
transactions: avoid late tear-down (issue641)
...
We use weak references (ugh) to avoid having to manually delete
transaction references out of each call frame when an exception occurs.
2007-07-22 14:53:57 -05:00
Alexis S. L. Carvalho
ec44599dd1
Merge additional fixes for my matcher changes
2007-03-20 22:21:05 -03:00
Giorgos Keramidas
e8919a398e
tests: expand test-commit a bit to test 'hg commit .' too
2007-03-18 22:49:05 +02:00
Matt Mackall
2e27ddd82b
symlinks: use is_link wherever is_exec is used
2006-12-29 20:04:31 -06:00
Matt Mackall
54ad6abe29
Update tests
2006-12-06 13:13:44 -06:00
Alexis S. L. Carvalho
7d0dc1d604
make hg commit <dirname> work again
2006-11-21 20:00:15 -02:00
Giorgos Keramidas
186991c839
Expand test-commit to cover one of the recent bugs.
2006-11-22 00:53:56 +02:00
Matt Mackall
88a9662e9f
commit: unify file-level commit code
2006-10-09 14:02:01 -05:00
Jose M. Prieto
7670d11c8a
Add documentation about the date formats allowed in the command line
2006-10-03 12:33:22 +02:00
Thomas Arendsen Hein
08a79c5b96
Updated test-commit to match changed output caused by nested transactions.
2006-02-28 23:19:47 +01:00
Benoit Boissinot
02edb6c65e
only files in normal state should be marked as deleted
...
fix a traceback when you removed an added file
2005-11-02 16:08:48 -08:00
Bryan O'Sullivan
75cd295fec
Commit date validation: more stringent checks, more useful error messages.
2005-09-04 14:47:02 -07:00
Bryan O'Sullivan
87a4ab2aa4
Add test output.
2005-09-03 23:52:39 -07:00