comparison mercurial/help.py @ 9025:42956a93db3a

help: add #revision syntax to the example valid URLs.
author David Wolever <wolever@cs.toronto.edu>
date Sat, 04 Jul 2009 12:40:34 +0200
parents 9b8c9266c59d
children 31e54756559b 73bec717b825
comparison
equal deleted inserted replaced
9021:2ccb527c7b1a 9025:42956a93db3a
447 447
448 (['urls'], _('URL Paths'), 448 (['urls'], _('URL Paths'),
449 _(r''' 449 _(r'''
450 Valid URLs are of the form: 450 Valid URLs are of the form:
451 451
452 local/filesystem/path (or file://local/filesystem/path) 452 local/filesystem/path[#revision]
453 http://[user[:pass]@]host[:port]/[path] 453 file://local/filesystem/path[#revision]
454 https://[user[:pass]@]host[:port]/[path] 454 http://[user[:pass]@]host[:port]/[path][#revision]
455 ssh://[user[:pass]@]host[:port]/[path] 455 https://[user[:pass]@]host[:port]/[path][#revision]
456 ssh://[user[:pass]@]host[:port]/[path][#revision]
456 457
457 Paths in the local filesystem can either point to Mercurial 458 Paths in the local filesystem can either point to Mercurial
458 repositories or to bundle files (as created by 'hg bundle' or 459 repositories or to bundle files (as created by 'hg bundle' or
459 'hg incoming --bundle'). 460 'hg incoming --bundle').
460 461
461 An optional identifier after # indicates a particular branch, tag, 462 An optional identifier after # indicates a particular branch, tag,
462 or changeset to use from the remote repository. 463 or changeset to use from the remote repository. See also 'hg help
464 revisions'.
463 465
464 Some features, such as pushing to http:// and https:// URLs are 466 Some features, such as pushing to http:// and https:// URLs are
465 only possible if the feature is explicitly enabled on the remote 467 only possible if the feature is explicitly enabled on the remote
466 Mercurial server. 468 Mercurial server.
467 469