Show More
@@ -519,10 +519,9 b' def dorecord(ui, repo, commitfunc, cmdsu' | |||
|
519 | 519 | '(use "hg commit" instead)')) |
|
520 | 520 | |
|
521 | 521 | status = repo.status(match=match) |
|
522 | diffopts = opts.copy() | |
|
523 |
diffopts |
|
|
524 |
diffopts |
|
|
525 | diffopts = patch.diffopts(ui, opts=diffopts) | |
|
522 | diffopts = patch.difffeatureopts(ui, opts=opts, whitespace=True) | |
|
523 | diffopts.nodates = True | |
|
524 | diffopts.git = True | |
|
526 | 525 | chunks = patch.diff(repo, changes=status, opts=diffopts) |
|
527 | 526 | fp = cStringIO.StringIO() |
|
528 | 527 | fp.write(''.join(chunks)) |
@@ -559,9 +559,9 b' Add to beginning, middle, end' | |||
|
559 | 559 | > echo $i >> plain |
|
560 | 560 | > done |
|
561 | 561 | |
|
562 | Record beginning, middle | |
|
562 | Record beginning, middle, and test that format-breaking diffopts are ignored | |
|
563 | 563 | |
|
564 | $ hg record -d '14 0' -m middle-only plain <<EOF | |
|
564 | $ hg record --config diff.noprefix=True -d '14 0' -m middle-only plain <<EOF | |
|
565 | 565 | > y |
|
566 | 566 | > y |
|
567 | 567 | > y |
General Comments 0
You need to be logged in to leave comments.
Login now