equal
deleted
inserted
replaced
650 By default, this command copies the contents of files as they |
650 By default, this command copies the contents of files as they |
651 stand in the working directory. If invoked with --after, the |
651 stand in the working directory. If invoked with --after, the |
652 operation is recorded, but no copying is performed. |
652 operation is recorded, but no copying is performed. |
653 |
653 |
654 This command takes effect in the next commit. |
654 This command takes effect in the next commit. |
655 |
|
656 NOTE: This command should be treated as experimental. While it |
|
657 should properly record copied files, this information is not yet |
|
658 fully used by merge, nor fully reported by log. |
|
659 """ |
655 """ |
660 wlock = repo.wlock(0) |
656 wlock = repo.wlock(0) |
661 errs, copied = docopy(ui, repo, pats, opts, wlock) |
657 errs, copied = docopy(ui, repo, pats, opts, wlock) |
662 return errs |
658 return errs |
663 |
659 |
1870 By default, this command copies the contents of files as they |
1866 By default, this command copies the contents of files as they |
1871 stand in the working directory. If invoked with --after, the |
1867 stand in the working directory. If invoked with --after, the |
1872 operation is recorded, but no copying is performed. |
1868 operation is recorded, but no copying is performed. |
1873 |
1869 |
1874 This command takes effect in the next commit. |
1870 This command takes effect in the next commit. |
1875 |
|
1876 NOTE: This command should be treated as experimental. While it |
|
1877 should properly record rename files, this information is not yet |
|
1878 fully used by merge, nor fully reported by log. |
|
1879 """ |
1871 """ |
1880 wlock = repo.wlock(0) |
1872 wlock = repo.wlock(0) |
1881 errs, copied = docopy(ui, repo, pats, opts, wlock) |
1873 errs, copied = docopy(ui, repo, pats, opts, wlock) |
1882 names = [] |
1874 names = [] |
1883 for abs, rel, exact in copied: |
1875 for abs, rel, exact in copied: |