##// END OF EJS Templates
cat: record the current behavior of wildcard matches in subrepos...
Yuya Nishihara -
r35166:27196b7f stable
parent child Browse files
Show More
@@ -90,7 +90,7 b' Interaction with Mercurial Commands'
90 :archive: archive does not recurse in subrepositories unless
90 :archive: archive does not recurse in subrepositories unless
91 -S/--subrepos is specified.
91 -S/--subrepos is specified.
92
92
93 :cat: cat currently only handles exact file matches in subrepos.
93 :cat: Git subrepositories only support exact file matches.
94 Subversion subrepositories are currently ignored.
94 Subversion subrepositories are currently ignored.
95
95
96 :commit: commit creates a consistent snapshot of the state of the
96 :commit: commit creates a consistent snapshot of the state of the
@@ -1071,6 +1071,18 b' Prepare a repo with subrepo'
1071 "path": "sub/repo/foo"
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 $ mkdir -p tmp/sub/repo
1086 $ mkdir -p tmp/sub/repo
1075 $ hg cat -r 0 --output tmp/%p_p sub/repo/foo
1087 $ hg cat -r 0 --output tmp/%p_p sub/repo/foo
1076 $ cat tmp/sub/repo/foo_p
1088 $ cat tmp/sub/repo/foo_p
General Comments 0
You need to be logged in to leave comments. Login now