Sean Farley
ee63d1c77f
load: use try / except instead of if-block
2015-01-06 11:16:51 -08:00
Sean Farley
ef5a64dcd3
remotenames: rename 'hash' variable to 'node'
2015-01-06 10:50:19 -08:00
Sean Farley
43769a41bb
remotenames: remove preferred name in favor of simpler suppressbranches
2015-01-05 20:50:58 -08:00
Sean Farley
73747d80e8
remotenames: remove broken distance stuff
2015-01-05 20:48:41 -08:00
Sean Farley
4636e8c52c
remotenames: override default template to add suppressbranches option
2015-01-05 20:29:40 -08:00
Sean Farley
d625ef2a21
remotebranches: add new template keyword for just branches
2014-12-16 22:27:03 -08:00
Sean Farley
f2527b3047
remotebookmarks: add new template keyword for just bookmarks
2014-12-16 16:56:12 -08:00
Sean Farley
083e914e6b
remotenames: register namespace even if no file exists
...
Previously, we returned early from the loadremotename method preventing
registration of our namespace. This patch moves the registration to reposetup
so that the namespace is always registered.
Test coverage has been added.
2014-12-16 22:23:41 -08:00
Sean Farley
9db986b421
cleanup: tighten whitespace around template methods
2014-12-16 10:55:36 -08:00
Sean Farley
5736ea3793
remotenames: cache the type of remote name
2014-12-16 10:50:05 -08:00
Sean Farley
dbad9563fc
remotenames: move _remotenames to global variable
2014-12-16 09:33:01 -08:00
Sean Farley
a57bf8b8a0
cleanup: tighten whitespace around imports
2014-12-16 09:32:09 -08:00
Sean Farley
8c97ab00e9
flake8: clean up code
2014-12-15 23:45:59 -08:00
Sean Farley
f5fbbd09f5
repoview: wrap _getdynamicblockers to allow remotenames to be not hidden
2014-03-31 21:22:23 -05:00
Sean Farley
bea29b7f21
reposetup: remove remotenames subclass
2014-03-31 20:23:47 -05:00
Sean Farley
43180d5ae7
preferredremotenames: move outside of repo class
2014-12-15 20:38:00 -08:00
Sean Farley
ab39acfe6e
remotenames: remove propertycache
...
Now that we are using mercurial's namespace api, we no longer need this
property of the repo.
2014-03-31 19:57:51 -05:00
Sean Farley
9ef68ad8ed
remotenames: use namespace api instead of custom _remotenames
2014-03-31 19:55:54 -05:00
Sean Farley
46276f5eaf
template: remove keyword automatically provided by repo names
2014-03-31 20:44:30 -05:00
Sean Farley
2cfa1a887c
lookup: remove method for wrapping repo.lookup
...
We will now use mercurial's built-in namespace api so we don't need to wrap
repo lookup.
2014-03-31 19:52:57 -05:00
Sean Farley
f1247e9d99
findtags: remove method for wrapping tags
...
We will now use mercurial's built-in namespace api so we don't need to pollute
the tags namespace. Therefore, we needed to update test output.
2014-03-31 19:51:44 -05:00
Sean Farley
1c7b93f96f
calculateremotedistance: fix typo in comment
2014-03-31 19:38:51 -05:00
Sean Farley
55aa8c88b2
load: add function loadremotenames to be called in reposetup
...
Since mercurial automatically outputs our namespace, tests need to be updated.
2014-03-31 12:34:43 -05:00
Sean Farley
67930a76fc
upstream_revs: fix missing baseset for empty list
2014-03-31 19:20:52 -05:00
Sean Farley
f9e79cac27
remotenames: remove pre-3.3 code
...
We'll be using new features in mercurial, so it'll be impossible to support
pre-3.3.
2014-03-31 19:16:59 -05:00
Sean Farley
fb45b90e0b
whitespace: add comment and reformat long line
2014-03-31 10:52:39 -05:00
Sean Farley
b5ab531c8e
remotenames: do a bulk search and replace
2014-03-31 19:27:54 -05:00
Sean Farley
a4faf15c67
remotenames: rename project
...
This is becoming much too different than remotebranches so let's just fork and
rename.
2014-03-31 19:27:54 -05:00