Show More
@@ -426,7 +426,7 b' def pullrebase(orig, ui, repo, *args, **' | |||
|
426 | 426 | 'Call rebase after pull if the latter has been invoked with --rebase' |
|
427 | 427 | if opts.get('rebase'): |
|
428 | 428 | if opts.get('update'): |
|
429 |
del opts |
|
|
429 | del opts['update'] | |
|
430 | 430 | ui.debug(_('--update and --rebase are not compatible, ignoring ' |
|
431 | 431 | 'the update flag\n')) |
|
432 | 432 |
@@ -53,6 +53,10 b" hg pull --rebase 2>&1 | sed 's/\\(pulling" | |||
|
53 | 53 | hg glog --template '{rev}\n' -l 1 |
|
54 | 54 | |
|
55 | 55 | echo |
|
56 | echo "% pull --rebase --update should ignore --update" | |
|
57 | hg pull --rebase --update 2>&1 | sed 's/\(pulling from \).*/\1/' | |
|
58 | ||
|
59 | echo | |
|
56 | 60 | echo "% pull --rebase doesn't update if nothing has been pulled" |
|
57 | 61 | hg up 1 |
|
58 | 62 | hg pull --rebase 2>&1 | sed 's/\(pulling from \).*/\1/' |
@@ -44,6 +44,11 b' nothing to rebase' | |||
|
44 | 44 | @ 2 |
|
45 | 45 | | |
|
46 | 46 | |
|
47 | % pull --rebase --update should ignore --update | |
|
48 | pulling from | |
|
49 | searching for changes | |
|
50 | no changes found | |
|
51 | ||
|
47 | 52 | % pull --rebase doesn't update if nothing has been pulled |
|
48 | 53 | 0 files updated, 0 files merged, 1 files removed, 0 files unresolved |
|
49 | 54 | pulling from |
General Comments 0
You need to be logged in to leave comments.
Login now