equal
deleted
inserted
replaced
2326 |
2326 |
2327 |
2327 |
2328 @command( |
2328 @command( |
2329 b'copy|cp', |
2329 b'copy|cp', |
2330 [ |
2330 [ |
2331 (b'', b'forget', None, _(b'unmark a file as copied')), |
2331 (b'', b'forget', None, _(b'unmark a destination file as copied')), |
2332 (b'A', b'after', None, _(b'record a copy that has already occurred')), |
2332 (b'A', b'after', None, _(b'record a copy that has already occurred')), |
2333 ( |
2333 ( |
2334 b'', |
2334 b'', |
2335 b'at-rev', |
2335 b'at-rev', |
2336 b'', |
2336 b'', |
2358 |
2358 |
2359 By default, this command copies the contents of files as they |
2359 By default, this command copies the contents of files as they |
2360 exist in the working directory. If invoked with -A/--after, the |
2360 exist in the working directory. If invoked with -A/--after, the |
2361 operation is recorded, but no copying is performed. |
2361 operation is recorded, but no copying is performed. |
2362 |
2362 |
2363 To undo marking a file as copied, use --forget. With that option, |
2363 To undo marking a destination file as copied, use --forget. With that |
2364 all given (positional) arguments are unmarked as copies. The destination |
2364 option, all given (positional) arguments are unmarked as copies. The |
2365 file(s) will be left in place (still tracked). |
2365 destination file(s) will be left in place (still tracked). |
2366 |
2366 |
2367 This command takes effect with the next commit by default. |
2367 This command takes effect with the next commit by default. |
2368 |
2368 |
2369 Returns 0 on success, 1 if errors are encountered. |
2369 Returns 0 on success, 1 if errors are encountered. |
2370 """ |
2370 """ |