hgext/fetch.py
changeset 2797 df220d0974dd
parent 2796 bd4dada96c2e
child 2811 4f7abf341cd4
equal deleted inserted replaced
2796:bd4dada96c2e 2797:df220d0974dd
     6 # of the GNU General Public License, incorporated herein by reference.
     6 # of the GNU General Public License, incorporated herein by reference.
     7 
     7 
     8 from mercurial.demandload import *
     8 from mercurial.demandload import *
     9 from mercurial.i18n import gettext as _
     9 from mercurial.i18n import gettext as _
    10 from mercurial.node import *
    10 from mercurial.node import *
    11 demandload(globals(), 'mercurial:commands,hg,node')
    11 demandload(globals(), 'mercurial:commands,hg,node,util')
    12 
    12 
    13 def fetch(ui, repo, source='default', **opts):
    13 def fetch(ui, repo, source='default', **opts):
    14     '''Pull changes from a remote repository, merge new changes if needed.
    14     '''Pull changes from a remote repository, merge new changes if needed.
    15 
    15 
    16     This finds all changes from the repository at the specified path
    16     This finds all changes from the repository at the specified path