##// END OF EJS Templates
Merge with stable
Martin Geisler -
r10660:24555e21 merge default
parent child Browse files
Show More
@@ -52,6 +52,7 b' testpats = ['
52 52 (r'/bin/', "don't use explicit paths for tools"),
53 53 (r'\$PWD', "don't use $PWD, use `pwd`"),
54 54 (r'[^\n]\Z', "no trailing newline"),
55 (r'export.*=', "don't export and assign at once"),
55 56 ]
56 57
57 58 testfilters = [
@@ -38,17 +38,16 b' def rebase(ui, repo, **opts):'
38 38 rebasing, but new changesets are added as its descendants.)
39 39
40 40 You can specify which changesets to rebase in two ways: as a
41 \"source\" changeset or as a \"base\" changeset. Both are
42 shorthand for a topologically related set of changesets (the
43 \"source branch\"). If you specify source (``-s/--source``),
44 rebase will rebase that changeset and all of its descendants onto
45 dest. If you specify base (``-b/--base``), rebase will select
46 ancestors of base back to but not including the common ancestor
47 with dest. Thus, ``-b`` is less precise but more convenient than
48 ``-s``: you can specify any changeset in the source branch, and
49 rebase will select the whole branch. If you specify neither ``-s``
50 nor ``-b``, rebase uses the parent of the working directory as the
51 base.
41 "source" changeset or as a "base" changeset. Both are shorthand
42 for a topologically related set of changesets (the "source
43 branch"). If you specify source (``-s/--source``), rebase will
44 rebase that changeset and all of its descendants onto dest. If you
45 specify base (``-b/--base``), rebase will select ancestors of base
46 back to but not including the common ancestor with dest. Thus,
47 ``-b`` is less precise but more convenient than ``-s``: you can
48 specify any changeset in the source branch, and rebase will select
49 the whole branch. If you specify neither ``-s`` nor ``-b``, rebase
50 uses the parent of the working directory as the base.
52 51
53 52 By default, rebase recreates the changesets in the source branch
54 53 as descendants of dest and then destroys the originals. Use
@@ -24,7 +24,7 b' hg merge'
24 24
25 25 hg up
26 26 echo % should fail because \> 2 heads
27 export HGMERGE=internal:other
27 HGMERGE=internal:other; export HGMERGE
28 28 hg merge
29 29
30 30 echo % should succeed
General Comments 0
You need to be logged in to leave comments. Login now