Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • sage/misc/hg.py

    r2687 r3960  
    557557        self('%s --help | %s'%(cmd, pager())) 
    558558 
     559    def outgoing(self, url=None, opts=''): 
     560        """ 
     561        Use this to find changsets that are in your branch, but not in the 
     562        specified destination repository. If no destination is specified, the 
     563        official repository is used. 
     564 
     565        From the Mercurial documentation: 
     566            Show changesets not found in the specified destination repository or the 
     567            default push location. These are the changesets that would be pushed if 
     568            a push was requested. 
     569 
     570            See pull() for valid destination format details. 
     571 
     572        INPUT: 
     573            url:  default: self.url() -- the official repository 
     574                   * http://[user@]host[:port]/[path] 
     575                   * https://[user@]host[:port]/[path] 
     576                   * ssh://[user@]host[:port]/[path] 
     577                   * local directory (starting with a /) 
     578                   * name of a branch (for hg_sage); no /'s 
     579            options: (default: none) 
     580                 -M --no-merges     do not show merges 
     581                 -f --force         run even when remote repository is unrelated 
     582                 -p --patch         show patch 
     583                    --style         display using template map file 
     584                 -r --rev           a specific revision you would like to push 
     585                 -n --newest-first  show newest record first 
     586                    --template      display with template 
     587                 -e --ssh           specify ssh command to use 
     588                    --remotecmd     specify hg command to run on the remote side 
     589        """ 
     590        if url is None: 
     591            url = self.__url 
     592 
     593        if not '/' in url: 
     594            url = '%s/devel/sage-%s'%(SAGE_ROOT, url) 
     595 
     596        self('outgoing %s %s | %s' % (opts, url, pager())) 
     597 
    559598    def pull(self, url=None, options='-u'): 
    560599        """ 
Note: See TracChangeset for help on using the changeset viewer.