Show More
@@ -105,8 +105,10 b' Interaction with Mercurial Commands' | |||
|
105 | 105 | Subversion subrepositories will print a warning and abort. |
|
106 | 106 | |
|
107 | 107 | :diff: diff does not recurse in subrepos unless -S/--subrepos is |
|
108 | specified. Changes are displayed as usual, on the subrepositories | |
|
109 | elements. Subversion subrepositories are currently silently ignored. | |
|
108 | specified. However, if you specify the full path of a file or | |
|
109 | directory in a subrepo, it will be diffed even without | |
|
110 | -S/--subrepos being specified. Subversion subrepositories are | |
|
111 | currently silently ignored. | |
|
110 | 112 | |
|
111 | 113 | :files: files does not recurse into subrepos unless -S/--subrepos is |
|
112 | 114 | specified. However, if you specify the full path of a file or |
@@ -129,7 +129,6 b' def diffordiffstat(ui, repo, diffopts, n' | |||
|
129 | 129 | for chunk, label in chunks: |
|
130 | 130 | ui.write(chunk, label=label) |
|
131 | 131 | |
|
132 | if listsubrepos: | |
|
133 | 132 |
|
|
134 | 133 |
|
|
135 | 134 |
|
@@ -142,6 +141,7 b' def diffordiffstat(ui, repo, diffopts, n' | |||
|
142 | 141 |
|
|
143 | 142 |
|
|
144 | 143 |
|
|
144 | if listsubrepos or match.exact(subpath) or any(submatch.files()): | |
|
145 | 145 | sub.diff(ui, diffopts, tempnode2, submatch, changes=changes, |
|
146 | 146 | stat=stat, fp=fp, prefix=subprefix) |
|
147 | 147 |
@@ -1875,6 +1875,19 b" Test that '[paths]' is configured correc" | |||
|
1875 | 1875 | @@ -0,0 +1,1 @@ |
|
1876 | 1876 | +bar |
|
1877 | 1877 | |
|
1878 | $ hg diff -X '.hgsub*' --nodates s | |
|
1879 | diff -r 000000000000 s/a | |
|
1880 | --- /dev/null | |
|
1881 | +++ b/s/a | |
|
1882 | @@ -0,0 +1,1 @@ | |
|
1883 | +a | |
|
1884 | $ hg diff -X '.hgsub*' --nodates s/a | |
|
1885 | diff -r 000000000000 s/a | |
|
1886 | --- /dev/null | |
|
1887 | +++ b/s/a | |
|
1888 | @@ -0,0 +1,1 @@ | |
|
1889 | +a | |
|
1890 | ||
|
1878 | 1891 | $ cd .. |
|
1879 | 1892 | |
|
1880 | 1893 | test for ssh exploit 2017-07-25 |
General Comments 0
You need to be logged in to leave comments.
Login now