Commits

Author Commit Message Labels Comments Date
Augie Fackler
svnmeta: store youngest revision pulled from subversion This prevents re-pulling the same revision over and over, which was a problem when the most recent revision was a tagging revision that wouldn't exist properly in the revmap. This should also allow users to not re-pull huge volumes of commits that have no effect on the hg repository.
maugustin
authormap: only append new or changed authors Previously, specifying an extra authormap with the hgsubversion.authormap configuration variable would cause the entirety of the other authormap to be appended to the one in '.hg/svn/authors' on each subversion access (e.g. hg in/out/pull/push). This also changes the authormap to preserve comments and the like in the authormap file.
Patrick Mézard
Fix import based feature detection With demandimport, the following: from mercurial.util import canonpath creates an 'unloaded module' if canonpath is not a mercurial.util attribute, instead of raising AttributeError or ImportError, which defeats tests like: try: from mercurial.util import canonpath except (AttributeError, ImportError): from mercurial.scmutil import canonpath Instead, we reference the attribut…
maugustin
authormap: expand environment variables when evaluating map path
Patrick Mézard
svnexternals: fix subrepo peg revision handling (7ef125fa9b35) hg >= 1.9 appends the revision to check out as a peg revision to source URL before calling svn. This breaks the case where the external definition already contains a peg revision. Instead, we assume that "-rR1 svnurl@R2" is equivalent to "svnurl@R1" which should be almost always true in practice. The import test has been reversed to avoid issues with stray .pyc: if you install an hg 1.8 over an h…
Patrick Mézard
Fix hg.clone() calls changed by d976542986d2
Patrick Mézard
test_fetch_branches: stop comparing converted nodeids They are no longer the same across Mercurial version since 301725c3df9a.
Patrick Mézard
stupid: use new patching facility introduced by adbf5e7df96d
Patrick Mézard
test_util: handle dispatch.dispatch() taking a request This was introduced in hg.08bfec2ef031
Patrick Mézard
test_pull: commands.pull() no longer aborts when crossing branches Introduced by hg.610873cf064a
Patrick Mézard
stupid: extract old patching code into patchrepo()
Augie Fackler
svncommands: fix weird missing newline after if statement
Augie Fackler
maps: clean up whitespace
Augie Fackler
test_pull: clean up whitespace
Patrick Mézard
Fix imports from module alias The following code is incorrect: from os import path from path import abspath and fails with: ImportError: No module named path
Peter Arrenbrecht
util: make islocalrepo() a bit more tolerant with file:// urls
Peter Arrenbrecht
Fix breakage introduced by discovery refactoring
Patrick Mézard
wrappers: fix revpair after hg.b33f3e35efb0
Peter Arrenbrecht
svnexternals: fix canonpath import after hg.bfeaa88b875d
Patrick Mézard
wrapper: fix bail_if_changed() after hg.d68ddccf276b Original fix by Peter Arrenbrecht <peter.arrenbrecht@gmail.com>
Patrick Mézard
stupid: fix patch.iterhunks() wrapper after hg.28762bb767dc Original fix by Peter Arrenbrecht <peter.arrenbrecht@gmail.com>
Peter Arrenbrecht
Fix code indentation
Patrick Mézard
Fix setup.py calls to hg.bat on Windows
Augie Fackler
Backed out changeset 7bf283d4c7a9 in favor of a better win32 fix In the future I'll try to get commentary from Windows people *before* pushing a patch.
Yonggang Luo
Fixup Installing in Win32
Dan Villiom Podlaski Christiansen
subvertpy wrapper: handle NotImplementedError from Subvertpy on missing replay
Augie Fackler
test_externals: flag another case as using hgsub, use assertMultiLineEqual
Patrick Mézard
util: use real function definitions for keywords, document them Starting with mercurial 1.9 template keywords and filters documentation is generated from the items docstrings.
Patrick Mézard
pushmod: fix binary files svn:mime-type (issue255) - Handle single directory layout - Reset svn:mime-type when the file is no longer binary
Patrick Mézard
replay: copy copied directories externals
  1. Prev
  2. Next