Show More
@@ -90,7 +90,7 Interaction with Mercurial Commands | |||
|
90 | 90 | :archive: archive does not recurse in subrepositories unless |
|
91 | 91 | -S/--subrepos is specified. |
|
92 | 92 | |
|
93 |
:cat: |
|
|
93 | :cat: Git subrepositories only support exact file matches. | |
|
94 | 94 | Subversion subrepositories are currently ignored. |
|
95 | 95 | |
|
96 | 96 | :commit: commit creates a consistent snapshot of the state of the |
@@ -1071,6 +1071,18 Prepare a repo with subrepo | |||
|
1071 | 1071 | "path": "sub/repo/foo" |
|
1072 | 1072 | } |
|
1073 | 1073 | ] |
|
1074 | ||
|
1075 | non-exact match: | |
|
1076 | ||
|
1077 | $ hg cat -T '{path}\n' 'glob:**' | |
|
1078 | .hgsub | |
|
1079 | .hgsubstate | |
|
1080 | sub/repo/foo (glob) | |
|
1081 | $ hg cat -T '{path}\n' 're:^sub' | |
|
1082 | sub/repo/foo (glob) | |
|
1083 | ||
|
1084 | missing subrepos in working directory: | |
|
1085 | ||
|
1074 | 1086 | $ mkdir -p tmp/sub/repo |
|
1075 | 1087 | $ hg cat -r 0 --output tmp/%p_p sub/repo/foo |
|
1076 | 1088 | $ cat tmp/sub/repo/foo_p |
General Comments 0
You need to be logged in to leave comments.
Login now