equal
deleted
inserted
replaced
493 ui.setconfig("ui", "ssh", opts['ssh']) |
493 ui.setconfig("ui", "ssh", opts['ssh']) |
494 if opts['remotecmd']: |
494 if opts['remotecmd']: |
495 ui.setconfig("ui", "remotecmd", opts['remotecmd']) |
495 ui.setconfig("ui", "remotecmd", opts['remotecmd']) |
496 |
496 |
497 d = Dircleanup(dest) |
497 d = Dircleanup(dest) |
|
498 source = ui.expandpath(source) |
498 abspath = source |
499 abspath = source |
499 source = ui.expandpath(source) |
|
500 other = hg.repository(ui, source) |
500 other = hg.repository(ui, source) |
501 |
501 |
502 if other.dev() != -1: |
502 if other.dev() != -1: |
503 abspath = os.path.abspath(source) |
503 abspath = os.path.abspath(source) |
504 copyfile = (os.stat(dest).st_dev == other.dev() |
504 copyfile = (os.stat(dest).st_dev == other.dev() |