##// END OF EJS Templates
subrepo: print subrepo pulling URL
Edouard Gomez -
r10668:05856e68 default
parent child Browse files
Show More
@@ -217,8 +217,8 b' class hgsubrepo(object):'
217 self._repo.lookup(revision)
217 self._repo.lookup(revision)
218 except error.RepoError:
218 except error.RepoError:
219 self._repo._subsource = source
219 self._repo._subsource = source
220 self._repo.ui.status(_('pulling subrepo %s\n') % self._path)
221 srcurl = _abssource(self._repo)
220 srcurl = _abssource(self._repo)
221 self._repo.ui.status(_('pulling subrepo %s from %s\n') % (self._path, srcurl))
222 other = hg.repository(self._repo.ui, srcurl)
222 other = hg.repository(self._repo.ui, srcurl)
223 self._repo.pull(other)
223 self._repo.pull(other)
224
224
@@ -78,7 +78,7 b' cat t/t'
78
78
79 echo % clone
79 echo % clone
80 cd ..
80 cd ..
81 hg clone t tc
81 hg clone t tc | sed 's|from .*/sub|from .../sub|g'
82 cd tc
82 cd tc
83 hg debugsub
83 hg debugsub
84
84
@@ -102,7 +102,8 b' hg ci -m13'
102 echo % pull
102 echo % pull
103 cd ../tc
103 cd ../tc
104 hg pull | sed 's/ .*sub/ ...sub/g'
104 hg pull | sed 's/ .*sub/ ...sub/g'
105 hg up # should pull t
105 # should pull t
106 hg up | sed 's|from .*/sub|from .../sub|g'
106 cat t/t
107 cat t/t
107
108
108 echo % bogus subrepo path aborts
109 echo % bogus subrepo path aborts
@@ -108,19 +108,19 b' t3'
108 >>>>>>> other
108 >>>>>>> other
109 % clone
109 % clone
110 updating to branch default
110 updating to branch default
111 pulling subrepo s
111 pulling subrepo s from .../sub/t/s
112 requesting all changes
112 requesting all changes
113 adding changesets
113 adding changesets
114 adding manifests
114 adding manifests
115 adding file changes
115 adding file changes
116 added 4 changesets with 5 changes to 3 files
116 added 4 changesets with 5 changes to 3 files
117 pulling subrepo ss
117 pulling subrepo ss from .../sub/t/s/ss
118 requesting all changes
118 requesting all changes
119 adding changesets
119 adding changesets
120 adding manifests
120 adding manifests
121 adding file changes
121 adding file changes
122 added 1 changesets with 1 changes to 1 files
122 added 1 changesets with 1 changes to 1 files
123 pulling subrepo t
123 pulling subrepo t from .../sub/t/t
124 requesting all changes
124 requesting all changes
125 adding changesets
125 adding changesets
126 adding manifests
126 adding manifests
@@ -197,7 +197,7 b' adding manifests'
197 adding file changes
197 adding file changes
198 added 1 changesets with 1 changes to 1 files
198 added 1 changesets with 1 changes to 1 files
199 (run 'hg update' to get a working copy)
199 (run 'hg update' to get a working copy)
200 pulling subrepo t
200 pulling subrepo t from .../sub/t/t
201 searching for changes
201 searching for changes
202 adding changesets
202 adding changesets
203 adding manifests
203 adding manifests
General Comments 0
You need to be logged in to leave comments. Login now