equal
deleted
inserted
replaced
171 |
171 |
172 $ hg unshare |
172 $ hg unshare |
173 $ test -d .hg/store |
173 $ test -d .hg/store |
174 $ test -f .hg/sharedpath |
174 $ test -f .hg/sharedpath |
175 [1] |
175 [1] |
176 $ grep shared .hg/requires |
176 $ hg debugrequires | grep shared |
177 [1] |
177 [1] |
178 $ hg unshare |
178 $ hg unshare |
179 abort: this is not a shared repo |
179 abort: this is not a shared repo |
180 [255] |
180 [255] |
181 |
181 |
206 $ hg init thisdir/orig |
206 $ hg init thisdir/orig |
207 $ hg share -U thisdir/orig thisdir/abs |
207 $ hg share -U thisdir/orig thisdir/abs |
208 $ hg share -U --relative thisdir/abs thisdir/rel |
208 $ hg share -U --relative thisdir/abs thisdir/rel |
209 $ cat thisdir/rel/.hg/sharedpath |
209 $ cat thisdir/rel/.hg/sharedpath |
210 ../../orig/.hg (no-eol) |
210 ../../orig/.hg (no-eol) |
211 $ grep shared thisdir/*/.hg/requires |
211 $ hg debugrequires -R thisdir/abs/ | grep shared |
212 thisdir/abs/.hg/requires:shared |
212 shared |
213 thisdir/rel/.hg/requires:relshared |
213 $ hg debugrequires -R thisdir/rel/ | grep shared |
214 thisdir/rel/.hg/requires:shared |
214 relshared |
|
215 shared |
215 |
216 |
216 test that relative shared paths aren't relative to $PWD |
217 test that relative shared paths aren't relative to $PWD |
217 |
218 |
218 $ cd thisdir |
219 $ cd thisdir |
219 $ hg -R rel root |
220 $ hg -R rel root |
239 $ cd thatdir/rel |
240 $ cd thatdir/rel |
240 $ hg unshare |
241 $ hg unshare |
241 $ test -d .hg/store |
242 $ test -d .hg/store |
242 $ test -f .hg/sharedpath |
243 $ test -f .hg/sharedpath |
243 [1] |
244 [1] |
244 $ grep shared .hg/requires |
245 $ hg debugrequires | grep shared |
245 [1] |
246 [1] |
246 $ hg unshare |
247 $ hg unshare |
247 abort: this is not a shared repo |
248 abort: this is not a shared repo |
248 [255] |
249 [255] |
249 $ cd ../.. |
250 $ cd ../.. |