Commits

Dan Villiom Podlaski Christiansen committed cfae0fb

Better docs.

Comments (0)

Files changed (1)

hgopenurl/__init__.py

-'''
-quickly show the web address for a repository
+'''quickly show the web address for a repository
+
+hgopenurl provides two commands: ``showurl`` and ``openurl``. ``showurl``
+writes the web address to standard output. ``openurl`` opens the repository
+web site in your web browser using the Python webbrowser module.
 '''
 
 import os
     return url
     
 def showurl(ui, repo, path=None, rev=None):
-    '''
-    print the URL of the repository.
+    '''print the web URL of the repository.
 
     If the -r/--rev argument is given, show the address of the changelog for
     that revision. Otherwise, the address of the repository changelog is shown.
     ui.write('%s\n' % getpath(ui, repo, path, rev))
 
 def openurl(ui, repo, path=None, rev=None):
-    '''
-    open the URL of the repository in a web browser.
+    '''open the URL of the repository in a web browser.
 
     If the -r/--rev argument is given, open the address of the changelog for
     that revision. Otherwise, the address of the repository changelog is opened.