##// END OF EJS Templates
id: add some help examples
Matt Mackall -
r15112:24f54894 default
parent child Browse files
Show More
@@ -2971,6 +2971,22 b' def identify(ui, repo, source=None, rev='
2971 Specifying a path to a repository root or Mercurial bundle will
2971 Specifying a path to a repository root or Mercurial bundle will
2972 cause lookup to operate on that repository/bundle.
2972 cause lookup to operate on that repository/bundle.
2973
2973
2974 .. container:: verbose
2975
2976 Examples:
2977
2978 - generate a build identifier for the working directory::
2979
2980 hg id --id > build-id.dat
2981
2982 - find the revision corresponding to a tag::
2983
2984 hg id -n -r 1.3
2985
2986 - check the most recent revision of a remote repository::
2987
2988 hg id -r tip http://selenic.com/hg/
2989
2974 Returns 0 if successful.
2990 Returns 0 if successful.
2975 """
2991 """
2976
2992
General Comments 0
You need to be logged in to leave comments. Login now