336 else: |
336 else: |
337 cg = repo.changegroup(o, 'bundle') |
337 cg = repo.changegroup(o, 'bundle') |
338 changegroup.writebundle(cg, fname, "HG10BZ") |
338 changegroup.writebundle(cg, fname, "HG10BZ") |
339 |
339 |
340 def cat(ui, repo, file1, *pats, **opts): |
340 def cat(ui, repo, file1, *pats, **opts): |
341 """output the latest or given revisions of files |
341 """output the current or given revision of files |
342 |
342 |
343 Print the specified files as they were at the given revision. |
343 Print the specified files as they were at the given revision. |
344 If no revision is given then working dir parent is used, or tip |
344 If no revision is given, the parent of the working directory is used, |
345 if no revision is checked out. |
345 or tip if no revision is checked out. |
346 |
346 |
347 Output may be to a file, in which case the name of the file is |
347 Output may be to a file, in which case the name of the file is |
348 given using a format string. The formatting rules are the same as |
348 given using a format string. The formatting rules are the same as |
349 for the export command, with the following additions: |
349 for the export command, with the following additions: |
350 |
350 |
1737 if count == limit: break |
1737 if count == limit: break |
1738 if displayer.flush(rev): |
1738 if displayer.flush(rev): |
1739 count += 1 |
1739 count += 1 |
1740 |
1740 |
1741 def manifest(ui, repo, rev=None): |
1741 def manifest(ui, repo, rev=None): |
1742 """output the latest or given revision of the project manifest |
1742 """output the current or given revision of the project manifest |
1743 |
1743 |
1744 Print a list of version controlled files for the given revision. |
1744 Print a list of version controlled files for the given revision. |
|
1745 If no revision is given, the parent of the working directory is used, |
|
1746 or tip if no revision is checked out. |
1745 |
1747 |
1746 The manifest is the list of files being version controlled. If no revision |
1748 The manifest is the list of files being version controlled. If no revision |
1747 is given then the first parent of the working directory is used. |
1749 is given then the first parent of the working directory is used. |
1748 |
1750 |
1749 With -v flag, print file permissions. With --debug flag, print |
1751 With -v flag, print file permissions. With --debug flag, print |
2396 copied = repo.dirstate.copied(f) |
2398 copied = repo.dirstate.copied(f) |
2397 if copied: |
2399 if copied: |
2398 ui.write(' %s%s' % (copied, end)) |
2400 ui.write(' %s%s' % (copied, end)) |
2399 |
2401 |
2400 def tag(ui, repo, name, rev_=None, **opts): |
2402 def tag(ui, repo, name, rev_=None, **opts): |
2401 """add a tag for the current tip or a given revision |
2403 """add a tag for the current or given revision |
2402 |
2404 |
2403 Name a particular revision using <name>. |
2405 Name a particular revision using <name>. |
2404 |
2406 |
2405 Tags are used to name particular revisions of the repository and are |
2407 Tags are used to name particular revisions of the repository and are |
2406 very useful to compare different revision, to go back to significant |
2408 very useful to compare different revision, to go back to significant |
2407 earlier versions or to mark branch points as releases, etc. |
2409 earlier versions or to mark branch points as releases, etc. |
2408 |
2410 |
2409 If no revision is given, the parent of the working directory is used. |
2411 If no revision is given, the parent of the working directory is used, |
|
2412 or tip if no revision is checked out. |
2410 |
2413 |
2411 To facilitate version control, distribution, and merging of tags, |
2414 To facilitate version control, distribution, and merging of tags, |
2412 they are stored as a file named ".hgtags" which is managed |
2415 they are stored as a file named ".hgtags" which is managed |
2413 similarly to other project files and can be hand-edited if |
2416 similarly to other project files and can be hand-edited if |
2414 necessary. The file '.hg/localtags' is used for local tags (not |
2417 necessary. The file '.hg/localtags' is used for local tags (not |