Show More
@@ -1083,20 +1083,19 b' With a prefix argument, prompt for the p' | |||
|
1083 | 1083 | "Display the revision history of PATH. |
|
1084 | 1084 | History is displayed between REV1 and REV2. |
|
1085 | 1085 | Number of displayed changesets is limited to LOG-LIMIT. |
|
1086 | REV1 defaults to the tip, while | |
|
1087 | REV2 defaults to `hg-rev-completion-limit' changes from the tip revision. | |
|
1086 | REV1 defaults to the tip, while REV2 defaults to 0. | |
|
1088 | 1087 | LOG-LIMIT defaults to `hg-log-limit'. |
|
1089 | 1088 | With a prefix argument, prompt for each parameter." |
|
1090 | 1089 | (interactive (list (hg-read-file-name " to log") |
|
1091 | 1090 | (hg-read-rev " to start with" |
|
1092 | 1091 | "tip") |
|
1093 | 1092 | (hg-read-rev " to end with" |
|
1094 | (format "%d" (- hg-rev-completion-limit))) | |
|
1093 | "0") | |
|
1095 | 1094 | (hg-read-number "Output limited to: " |
|
1096 | 1095 | hg-log-limit))) |
|
1097 | 1096 | (let ((a-path (hg-abbrev-file-name path)) |
|
1098 | (r1 (or rev1 (format "-%d" hg-rev-completion-limit))) | |
|
1099 |
(r2 (or rev2 |
|
|
1097 | (r1 (or rev1 "tip")) | |
|
1098 | (r2 (or rev2 "0")) | |
|
1100 | 1099 | (limit (format "%d" (or log-limit hg-log-limit)))) |
|
1101 | 1100 | (hg-view-output ((if (equal r1 r2) |
|
1102 | 1101 | (format "Mercurial: Log of rev %s of %s" rev1 a-path) |
@@ -1117,15 +1116,14 b' With a prefix argument, prompt for each ' | |||
|
1117 | 1116 | "Display the revision history of the repository containing PATH. |
|
1118 | 1117 | History is displayed between REV1 and REV2. |
|
1119 | 1118 | Number of displayed changesets is limited to LOG-LIMIT, |
|
1120 | REV1 defaults to the tip, while | |
|
1121 | REV2 defaults to `hg-rev-completion-limit' changes from the tip revision. | |
|
1119 | REV1 defaults to the tip, while REV2 defaults to 0. | |
|
1122 | 1120 | LOG-LIMIT defaults to `hg-log-limit'. |
|
1123 | 1121 | With a prefix argument, prompt for each parameter." |
|
1124 | 1122 | (interactive (list (hg-read-file-name " to log") |
|
1125 | 1123 | (hg-read-rev " to start with" |
|
1126 | 1124 | "tip") |
|
1127 | 1125 | (hg-read-rev " to end with" |
|
1128 | (format "%d" (- hg-rev-completion-limit))) | |
|
1126 | "0") | |
|
1129 | 1127 | (hg-read-number "Output limited to: " |
|
1130 | 1128 | hg-log-limit))) |
|
1131 | 1129 | (hg-log (hg-root path) rev1 rev2 log-limit)) |
General Comments 0
You need to be logged in to leave comments.
Login now