Show More
@@ -759,8 +759,10 b' class gitsubrepo(abstractsubrepo):' | |||
|
759 | 759 | |
|
760 | 760 | def _fetch(self, source, revision): |
|
761 | 761 | if not os.path.exists(os.path.join(self._abspath, '.git')): |
|
762 | self._ui.status(_('cloning subrepo %s\n') % self._relpath) | |
|
763 | self._gitnodir(['clone', self._abssource(source), self._abspath]) | |
|
762 | source = self._abssource(source) | |
|
763 | self._ui.status(_('cloning subrepo %s from %s\n') % | |
|
764 | (self._relpath, source)) | |
|
765 | self._gitnodir(['clone', source, self._abspath]) | |
|
764 | 766 | if self._githavelocally(revision): |
|
765 | 767 | return |
|
766 | 768 | self._ui.status(_('pulling subrepo %s\n') % self._relpath) |
@@ -73,7 +73,7 b' clone root' | |||
|
73 | 73 | $ cd t |
|
74 | 74 | $ hg clone . ../tc |
|
75 | 75 | updating to branch default |
|
76 | cloning subrepo s | |
|
76 | cloning subrepo s from $TESTTMP/gitroot | |
|
77 | 77 | 3 files updated, 0 files merged, 0 files removed, 0 files unresolved |
|
78 | 78 | $ cd ../tc |
|
79 | 79 | $ hg debugsub |
@@ -96,7 +96,7 b' clone root, make local change' | |||
|
96 | 96 | $ cd ../t |
|
97 | 97 | $ hg clone . ../ta |
|
98 | 98 | updating to branch default |
|
99 | cloning subrepo s | |
|
99 | cloning subrepo s from $TESTTMP/gitroot | |
|
100 | 100 | 3 files updated, 0 files merged, 0 files removed, 0 files unresolved |
|
101 | 101 | |
|
102 | 102 | $ cd ../ta |
@@ -115,7 +115,7 b' clone root separately, make different lo' | |||
|
115 | 115 | $ cd ../t |
|
116 | 116 | $ hg clone . ../tb |
|
117 | 117 | updating to branch default |
|
118 | cloning subrepo s | |
|
118 | cloning subrepo s from $TESTTMP/gitroot | |
|
119 | 119 | 3 files updated, 0 files merged, 0 files removed, 0 files unresolved |
|
120 | 120 | |
|
121 | 121 | $ cd ../tb/s |
@@ -199,7 +199,7 b' make and push changes to hg without upda' | |||
|
199 | 199 | $ cd ../t |
|
200 | 200 | $ hg clone . ../td |
|
201 | 201 | updating to branch default |
|
202 | cloning subrepo s | |
|
202 | cloning subrepo s from $TESTTMP/gitroot | |
|
203 | 203 | checking out detached HEAD in subrepo s |
|
204 | 204 | check out a git branch if you intend to make changes |
|
205 | 205 | 3 files updated, 0 files merged, 0 files removed, 0 files unresolved |
@@ -282,7 +282,7 b' create nested repo' | |||
|
282 | 282 | |
|
283 | 283 | $ hg clone ../t inner |
|
284 | 284 | updating to branch default |
|
285 | cloning subrepo s | |
|
285 | cloning subrepo s from $TESTTMP/gitroot | |
|
286 | 286 | 3 files updated, 0 files merged, 0 files removed, 0 files unresolved |
|
287 | 287 | $ echo inner = inner > .hgsub |
|
288 | 288 | $ hg add .hgsub |
@@ -311,7 +311,7 b' relative source expansion' | |||
|
311 | 311 | $ mkdir d |
|
312 | 312 | $ hg clone t d/t |
|
313 | 313 | updating to branch default |
|
314 | cloning subrepo s | |
|
314 | cloning subrepo s from $TESTTMP/gitroot | |
|
315 | 315 | 3 files updated, 0 files merged, 0 files removed, 0 files unresolved |
|
316 | 316 | |
|
317 | 317 | Check hg update --clean |
General Comments 0
You need to be logged in to leave comments.
Login now