comparison mercurial/help.py @ 7979:6b04f12d2831

commands, help: consistently write 'URL' in upper-case
author Martin Geisler <mg@daimi.au.dk>
date Sat, 04 Apr 2009 17:44:18 +0200
parents aa512a03f6d3
children 595baa7c726f
comparison
equal deleted inserted replaced
7978:aa512a03f6d3 7979:6b04f12d2831
347 - urlescape: Any text. Escapes all "special" characters. For example, 347 - urlescape: Any text. Escapes all "special" characters. For example,
348 "foo bar" becomes "foo%20bar". 348 "foo bar" becomes "foo%20bar".
349 - user: Any text. Returns the user portion of an email address. 349 - user: Any text. Returns the user portion of an email address.
350 ''')), 350 ''')),
351 351
352 (['urls'], _('Url Paths'), 352 (['urls'], _('URL Paths'),
353 _(r''' 353 _(r'''
354 Valid URLs are of the form: 354 Valid URLs are of the form:
355 355
356 local/filesystem/path (or file://local/filesystem/path) 356 local/filesystem/path (or file://local/filesystem/path)
357 http://[user[:pass]@]host[:port]/[path] 357 http://[user[:pass]@]host[:port]/[path]
382 Host * 382 Host *
383 Compression yes 383 Compression yes
384 Alternatively specify "ssh -C" as your ssh command in your hgrc or 384 Alternatively specify "ssh -C" as your ssh command in your hgrc or
385 with the --ssh command line option. 385 with the --ssh command line option.
386 386
387 These urls can all be stored in your hgrc with path aliases under the 387 These URLs can all be stored in your hgrc with path aliases under the
388 [paths] section like so: 388 [paths] section like so:
389 [paths] 389 [paths]
390 alias1 = URL1 390 alias1 = URL1
391 alias2 = URL2 391 alias2 = URL2
392 ... 392 ...
393 393
394 You can then use the alias for any command that uses a url (for example 394 You can then use the alias for any command that uses a URL (for example
395 'hg pull alias1' would pull from the 'alias1' path). 395 'hg pull alias1' would pull from the 'alias1' path).
396 396
397 Two path aliases are special because they are used as defaults 397 Two path aliases are special because they are used as defaults
398 when you do not provide the url to a command: 398 when you do not provide the URL to a command:
399 399
400 default: 400 default:
401 When you create a repository with hg clone, the clone command saves 401 When you create a repository with hg clone, the clone command saves
402 the location of the source repository as the new repository's 402 the location of the source repository as the new repository's
403 'default' path. This is then used when you omit path from push- 403 'default' path. This is then used when you omit path from push-