comparison mercurial/help/subrepos.txt @ 24413:a8595176dd64

subrepo: add basic support to hgsubrepo for the files command Paths into the subrepo are not yet supported. The need to use the workingctx in the subrepo will likely be used more in the future, with the proposed working directory revset symbol. It is also needed with archive, if that code is to be reused to support 'extdiff -S'. Unfortunately, it doesn't seem possible to put the smarts in subrepo.subrepo(), as it breaks various status and diff tests. I opted not to pass the desired revision into the subrepo method explicitly, because the only ones that do pass an explicit revision are methods like status and diff, which actually operate on two contexts- the subrepo state and the explicitly passed revision.
author Matt Harbison <matt_harbison@yahoo.com>
date Wed, 18 Mar 2015 23:03:41 -0400
parents bd9f64ec891d
children 89fe9921511f
comparison
equal deleted inserted replaced
24409:30b8db6d0c04 24413:a8595176dd64
107 :diff: diff does not recurse in subrepos unless -S/--subrepos is 107 :diff: diff does not recurse in subrepos unless -S/--subrepos is
108 specified. Changes are displayed as usual, on the subrepositories 108 specified. Changes are displayed as usual, on the subrepositories
109 elements. Git subrepositories do not support --include/--exclude. 109 elements. Git subrepositories do not support --include/--exclude.
110 Subversion subrepositories are currently silently ignored. 110 Subversion subrepositories are currently silently ignored.
111 111
112 :files: files does not recurse into subrepos unless -S/--subrepos is
113 specified. Git and Subversion subrepositories are currently
114 silently ignored.
115
112 :forget: forget currently only handles exact file matches in subrepos. 116 :forget: forget currently only handles exact file matches in subrepos.
113 Git and Subversion subrepositories are currently silently ignored. 117 Git and Subversion subrepositories are currently silently ignored.
114 118
115 :incoming: incoming does not recurse in subrepos unless -S/--subrepos 119 :incoming: incoming does not recurse in subrepos unless -S/--subrepos
116 is specified. Git and Subversion subrepositories are currently 120 is specified. Git and Subversion subrepositories are currently