Mercurial > public > mercurial-scm > hg
comparison mercurial/hg.py @ 35347:a29fe459fc49
remotenames: rename related file and storage dir to logexchange
This patch renames remotenames.py to logexchange.py, test-remotenames.t to
test-logexchange.t. Also this patch renames the directory in which the data is
stored from remotenames to logexchange. After this patch, data about bookmarks
and branches from a server we pull is stored in
`.hg/logexchange/(bookmarks|branches)` files.
Thanks to smf for the suggestion.
Differential Revision: https://phab.mercurial-scm.org/D1607
author | Pulkit Goyal <7895pulkit@gmail.com> |
---|---|
date | Thu, 07 Dec 2017 00:26:45 +0530 |
parents | 773a9a06047c |
children | 0ebd94ac56d1 |
comparison
equal
deleted
inserted
replaced
35346:9eb19b13e92a | 35347:a29fe459fc49 |
---|---|
26 exchange, | 26 exchange, |
27 extensions, | 27 extensions, |
28 httppeer, | 28 httppeer, |
29 localrepo, | 29 localrepo, |
30 lock, | 30 lock, |
31 logexchange, | |
31 merge as mergemod, | 32 merge as mergemod, |
32 node, | 33 node, |
33 phases, | 34 phases, |
34 remotenames, | |
35 repoview, | 35 repoview, |
36 scmutil, | 36 scmutil, |
37 sshpeer, | 37 sshpeer, |
38 statichttprepo, | 38 statichttprepo, |
39 ui as uimod, | 39 ui as uimod, |
689 fp.close() | 689 fp.close() |
690 | 690 |
691 destrepo.ui.setconfig('paths', 'default', defaulturl, 'clone') | 691 destrepo.ui.setconfig('paths', 'default', defaulturl, 'clone') |
692 | 692 |
693 if ui.configbool('experimental', 'remotenames'): | 693 if ui.configbool('experimental', 'remotenames'): |
694 remotenames.pullremotenames(destrepo, srcpeer) | 694 logexchange.pullremotenames(destrepo, srcpeer) |
695 | 695 |
696 if update: | 696 if update: |
697 if update is not True: | 697 if update is not True: |
698 checkout = srcpeer.lookup(update) | 698 checkout = srcpeer.lookup(update) |
699 uprev = None | 699 uprev = None |