Commit Graph

11 Commits

Author SHA1 Message Date
Ryan McElroy
d5704aea60 bookmarks: compatibility with new applychanges api
Recent versions of mercuiral issue a devel-warn if the old recordchange api is
used, but we want to remain backwards-compatible, so this patch refactors things
to be forward-compatible and backwards-compatible.
2017-07-19 05:51:44 -07:00
Sean Farley
4ecdfcbaeb util: add method for writing bookmarks 2016-01-08 13:58:47 -08:00
Sean Farley
0927a0ce0f util: regularize mercurial imports 2016-01-08 13:57:03 -08:00
Sean Farley
52aee01bcf util: add heuristic method to determine if a uri is git
This add the ability to copy & paste from github's (and other git-style) urls.
Due to how we need to handle this, we need to also ensure that paths that end
with .git are stripped of their extension.
2015-07-01 13:55:59 -07:00
Sean Farley
1f2ea783f8 util: flake8 cleanup 2015-04-22 16:27:13 -07:00
paul.wheeler@appature.com
e311b5750b util: add missing mercurial.util import 2014-12-05 16:40:21 -08:00
Siddharth Agarwal
16e7862fe1 hgrepo: move _transform_notgit into util
This decorator will be used in other contexts in upcoming patches.
2014-10-13 16:26:31 -07:00
Siddharth Agarwal
27784bf3bc util: drop support for Mercurial < 1.4 2014-02-19 18:49:42 -08:00
Augie Fackler
41c1d684a6 submodules: only use the ordereddict backport if collections.OrderedDict is unavailable 2012-08-28 09:09:01 -05:00
Artem Tikhomirov
d87f82457b Subrepos: generate .hgsubstate and .hgsub based on gitlinks and .gitmodules, preserve gitlinks on hg commit export. Tests included. Dependency from PyPI's ordereddict to use OrderedDict 2012-08-06 18:30:33 +02:00
Augie Fackler
c9fb39537b Un-break hg 1.3 by adding a compat layer for progress. 2010-04-30 10:35:13 -05:00