Mercurial > hg
comparison hgext/fetch.py @ 2802:df220d0974dd
fetch: add missing import.
author | Vadim Gelfer <vadim.gelfer@gmail.com> |
---|---|
date | Mon, 07 Aug 2006 19:08:55 -0700 |
parents | bd4dada96c2e |
children | 90a4181ca9ed |
comparison
equal
deleted
inserted
replaced
2801:bd4dada96c2e | 2802: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 |