Show More
@@ -4007,6 +4007,10 b' def pull(ui, repo, source="default", **o' | |||||
4007 | "so a rev cannot be specified.") |
|
4007 | "so a rev cannot be specified.") | |
4008 | raise error.Abort(err) |
|
4008 | raise error.Abort(err) | |
4009 |
|
4009 | |||
|
4010 | wlock = util.nullcontextmanager() | |||
|
4011 | if opts.get('update'): | |||
|
4012 | wlock = repo.wlock() | |||
|
4013 | with wlock: | |||
4010 | pullopargs.update(opts.get('opargs', {})) |
|
4014 | pullopargs.update(opts.get('opargs', {})) | |
4011 | modheads = exchange.pull(repo, other, heads=revs, |
|
4015 | modheads = exchange.pull(repo, other, heads=revs, | |
4012 | force=opts.get('force'), |
|
4016 | force=opts.get('force'), |
@@ -262,6 +262,7 b' Pull from bundle and trigger notify' | |||||
262 | adding file changes |
|
262 | adding file changes | |
263 | added 2 changesets with 3 changes to 3 files |
|
263 | added 2 changesets with 3 changes to 3 files | |
264 | new changesets a2392c293916:ef63ca68695b |
|
264 | new changesets a2392c293916:ef63ca68695b | |
|
265 | 3 files updated, 0 files merged, 0 files removed, 0 files unresolved | |||
265 | MIME-Version: 1.0 |
|
266 | MIME-Version: 1.0 | |
266 | Content-Type: text/plain; charset="us-ascii" |
|
267 | Content-Type: text/plain; charset="us-ascii" | |
267 | Content-Transfer-Encoding: 7bit |
|
268 | Content-Transfer-Encoding: 7bit | |
@@ -314,7 +315,6 b' Pull from bundle and trigger notify' | |||||
314 | +++ b/b Thu Jan 01 00:00:00 1970 +0000 |
|
315 | +++ b/b Thu Jan 01 00:00:00 1970 +0000 | |
315 | @@ -0,0 +1,1 @@ |
|
316 | @@ -0,0 +1,1 @@ | |
316 | +ignore $Id$ |
|
317 | +ignore $Id$ | |
317 | 3 files updated, 0 files merged, 0 files removed, 0 files unresolved |
|
|||
318 |
|
318 | |||
319 | $ cp $HGRCPATH.nohooks $HGRCPATH |
|
319 | $ cp $HGRCPATH.nohooks $HGRCPATH | |
320 |
|
320 |
General Comments 0
You need to be logged in to leave comments.
Login now