equal
deleted
inserted
replaced
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 |