##// END OF EJS Templates
split: use default one-line summary...
Martin von Zweigbergk -
r46358:84ce9ffc default
parent child Browse files
Show More
@@ -143,8 +143,8 b' def dosplit(ui, repo, tr, ctx, opts):'
143 b'HG: Splitting %s. So far it has been split into:\n'
143 b'HG: Splitting %s. So far it has been split into:\n'
144 ) % short(ctx.node())
144 ) % short(ctx.node())
145 for c in committed:
145 for c in committed:
146 firstline = c.description().split(b'\n', 1)[0]
146 summary = cmdutil.format_changeset_summary(ui, c, b'split')
147 header += _(b'HG: - %s: %s\n') % (short(c.node()), firstline)
147 header += _(b'HG: - %s\n') % summary
148 header += _(
148 header += _(
149 b'HG: Write commit message for the next split changeset.\n'
149 b'HG: Write commit message for the next split changeset.\n'
150 )
150 )
@@ -216,7 +216,7 b' was always recording three commits, one '
216 (enter ? for help) [Ynesfdaq?] y
216 (enter ? for help) [Ynesfdaq?] y
217
217
218 EDITOR: HG: Splitting 1df0d5c5a3ab. So far it has been split into:
218 EDITOR: HG: Splitting 1df0d5c5a3ab. So far it has been split into:
219 EDITOR: HG: - e704349bd21b: split 1
219 EDITOR: HG: - 2:e704349bd21b tip "split 1"
220 EDITOR: HG: Write commit message for the next split changeset.
220 EDITOR: HG: Write commit message for the next split changeset.
221 EDITOR: a2
221 EDITOR: a2
222 EDITOR:
222 EDITOR:
@@ -239,8 +239,8 b' was always recording three commits, one '
239 (enter ? for help) [Ynesfdaq?] y
239 (enter ? for help) [Ynesfdaq?] y
240
240
241 EDITOR: HG: Splitting 1df0d5c5a3ab. So far it has been split into:
241 EDITOR: HG: Splitting 1df0d5c5a3ab. So far it has been split into:
242 EDITOR: HG: - e704349bd21b: split 1
242 EDITOR: HG: - 2:e704349bd21b tip "split 1"
243 EDITOR: HG: - a09ad58faae3: split 2
243 EDITOR: HG: - 3:a09ad58faae3 "split 2"
244 EDITOR: HG: Write commit message for the next split changeset.
244 EDITOR: HG: Write commit message for the next split changeset.
245 EDITOR: a2
245 EDITOR: a2
246 EDITOR:
246 EDITOR:
@@ -661,7 +661,7 b' Do not move things to secret even if pha'
661 (enter ? for help) [Ynesfdaq?] f
661 (enter ? for help) [Ynesfdaq?] f
662
662
663 EDITOR: HG: Splitting dd3c45017cbf. So far it has been split into:
663 EDITOR: HG: Splitting dd3c45017cbf. So far it has been split into:
664 EDITOR: HG: - f205aea1c624: split 1
664 EDITOR: HG: - 2:f205aea1c624 tip "split 1"
665 EDITOR: HG: Write commit message for the next split changeset.
665 EDITOR: HG: Write commit message for the next split changeset.
666 EDITOR: splitme
666 EDITOR: splitme
667 EDITOR:
667 EDITOR:
@@ -718,7 +718,7 b" the ignoreblanklines thing isn't somehow"
718 (enter ? for help) [Ynesfdaq?] f
718 (enter ? for help) [Ynesfdaq?] f
719
719
720 EDITOR: HG: Splitting 904c80b40a4a. So far it has been split into:
720 EDITOR: HG: Splitting 904c80b40a4a. So far it has been split into:
721 EDITOR: HG: - ffecf40fa954: split 1
721 EDITOR: HG: - 2:ffecf40fa954 tip "split 1"
722 EDITOR: HG: Write commit message for the next split changeset.
722 EDITOR: HG: Write commit message for the next split changeset.
723 EDITOR: splitme
723 EDITOR: splitme
724 EDITOR:
724 EDITOR:
@@ -843,7 +843,7 b' Test that splitting moves works properly'
843 (enter ? for help) [Ynesfdaq?] a
843 (enter ? for help) [Ynesfdaq?] a
844
844
845 EDITOR: HG: Splitting 8c42fa635116. So far it has been split into:
845 EDITOR: HG: Splitting 8c42fa635116. So far it has been split into:
846 EDITOR: HG: - 478be2a70c27: split1, keeping only the numbered lines
846 EDITOR: HG: - 2:478be2a70c27 tip "split1, keeping only the numbered lines"
847 EDITOR: HG: Write commit message for the next split changeset.
847 EDITOR: HG: Write commit message for the next split changeset.
848 EDITOR: move and modify
848 EDITOR: move and modify
849 EDITOR:
849 EDITOR:
@@ -941,7 +941,7 b' accidentally.'
941 (enter ? for help) [Ynesfdaq?] a
941 (enter ? for help) [Ynesfdaq?] a
942
942
943 EDITOR: HG: Splitting 41c861dfa61e. So far it has been split into:
943 EDITOR: HG: Splitting 41c861dfa61e. So far it has been split into:
944 EDITOR: HG: - 4b19e06610eb: split1, keeping "file" and only the numbered lines in file2
944 EDITOR: HG: - 2:4b19e06610eb tip "split1, keeping "file" and only the numbered lines in file2"
945 EDITOR: HG: Write commit message for the next split changeset.
945 EDITOR: HG: Write commit message for the next split changeset.
946 EDITOR: copy file->file2, modify both
946 EDITOR: copy file->file2, modify both
947 EDITOR:
947 EDITOR:
General Comments 0
You need to be logged in to leave comments. Login now