Show More
@@ -451,7 +451,7 b' def filterpatch(ui, chunks, chunkselecto' | |||||
451 |
|
451 | |||
452 | # if there are no changed files |
|
452 | # if there are no changed files | |
453 | if len(headers) == 0: |
|
453 | if len(headers) == 0: | |
454 | return [] |
|
454 | return [], {} | |
455 | uiheaders = [uiheader(h) for h in headers] |
|
455 | uiheaders = [uiheader(h) for h in headers] | |
456 | # let user choose headers/hunks/lines, and mark their applied flags |
|
456 | # let user choose headers/hunks/lines, and mark their applied flags | |
457 | # accordingly |
|
457 | # accordingly |
@@ -41,6 +41,10 b' Committing some changes' | |||||
41 | date: Thu Jan 01 00:00:00 1970 +0000 |
|
41 | date: Thu Jan 01 00:00:00 1970 +0000 | |
42 | summary: a |
|
42 | summary: a | |
43 |
|
43 | |||
|
44 | Check that commit -i works with no changes | |||
|
45 | $ hg commit -i | |||
|
46 | no changes to record | |||
|
47 | ||||
44 | Committing only one file |
|
48 | Committing only one file | |
45 |
|
49 | |||
46 | $ echo "a" >> a |
|
50 | $ echo "a" >> a |
General Comments 0
You need to be logged in to leave comments.
Login now