Mercurial > dotfiles
changeset 515:6d5e2a583502 default tip
Remove onsub extension
author | Ludovic Chabant <ludovic@chabant.com> |
---|---|
date | Tue, 10 May 2022 09:54:59 -0700 |
parents | fc35cae2fb52 |
children | |
files | install.cfg install.py |
diffstat | 2 files changed, 1 insertions(+), 3 deletions(-) [+] |
line wrap: on
line diff
--- a/install.cfg Wed May 04 15:03:48 2022 -0700 +++ b/install.cfg Tue May 10 09:54:59 2022 -0700 @@ -11,7 +11,6 @@ lib/hg/mercurial-all_paths = https://foss.heptapod.net/mercurial/mercurial-all_paths lib/hg/mercurial-cli-templates = https://hg.stevelosh.com/mercurial-cli-templates lib/hg/mercurial-extension_utils = https://foss.heptapod.net/mercurial/mercurial-extension_utils -lib/hg/onsub = https://hg.sr.ht/~ludovicchabant/onsub lib/iterm2/color-schemes = [git]https://github.com/mbadolato/iTerm2-Color-Schemes.git
--- a/install.py Wed May 04 15:03:48 2022 -0700 +++ b/install.py Tue May 10 09:54:59 2022 -0700 @@ -219,7 +219,6 @@ 'git:allowed = true', '[extensions]', 'hggit = %s' % _p('lib/hg/hg-git/hggit/'), - 'onsub = %s' % _p('lib/hg/onsub/onsub.py'), 'allpaths = %s' % _p('lib/hg/mercurial-all_paths/mercurial_all_paths.py'), 'prompt = %s' % _p('lib/hg/hg-prompt/prompt.py'), 'evolve = %s' % _p('lib/hg/evolve/hgext3rd/evolve'), @@ -357,7 +356,7 @@ if not m: raise Exception("Not a git url: %s" % url) url, branch = m.group('url'), (m.group('branch') or 'master') - + if _is_non_empty_dir_with(path, '.git'): if not force: print("git pull origin %s %s" % (branch, path))