equal
deleted
inserted
replaced
309 ui.debug("copied %d files\n" % num) |
309 ui.debug("copied %d files\n" % num) |
310 |
310 |
311 # we need to re-init the repo after manually copying the data |
311 # we need to re-init the repo after manually copying the data |
312 # into it |
312 # into it |
313 dest_repo = repository(ui, dest) |
313 dest_repo = repository(ui, dest) |
314 src_repo.hook('outgoing', source='clone', node='0'*40) |
314 src_repo.hook('outgoing', source='clone', |
|
315 node=node.hex(node.nullid)) |
315 else: |
316 else: |
316 try: |
317 try: |
317 dest_repo = repository(ui, dest, create=True) |
318 dest_repo = repository(ui, dest, create=True) |
318 except OSError, inst: |
319 except OSError, inst: |
319 if inst.errno == errno.EEXIST: |
320 if inst.errno == errno.EEXIST: |