equal
deleted
inserted
replaced
9 from mercurial.i18n import _ |
9 from mercurial.i18n import _ |
10 from mercurial.node import nullid, short |
10 from mercurial.node import nullid, short |
11 from mercurial import commands, cmdutil, hg, util, url |
11 from mercurial import commands, cmdutil, hg, util, url |
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 |
17 or URL and adds them to the local repository. |
17 or URL and adds them to the local repository. |
18 |
18 |
19 If the pulled changes add a new branch head, the head is automatically |
19 If the pulled changes add a new branch head, the head is automatically |