Commits

Show all
Author Commit Message Labels Comments Date
Augie Fackler
svnexternals: comment on the purpose of int(rev)
Tags
1.3
Yonggang Luo
test_template_keywords.py: fix indentation of revset except block
Yonggang Luo
test_push_command: tests -> all_tests for consistency with other files
Yonggang Luo
tests: avoid shadowing Python builtin all()
Yonggang Luo
globally: clean up whitespace around operators and commas to conform with PEP8 Mostly autoformatted by Eclipse. A few manual corrections were performed where Eclipse's autoformatter did something non-idiomatic.
Augie Fackler
svnrepo: kludge to work around hash changes between stupid and replay in hg 1.9 This causes every commit to get a new manifest, just like hg 1.8 and earlier. It also fixes some problems where stupid and replay produced different hashes under 1.9, which is the primary motivation for preserving the old behavior. Hopefully some day we can back this out and be smarter about stupid mode, or can stupid mode entirely in favor of some smarter validations in 'hg svn verify'.
Augie Fackler
Merge queued patches. Hg: --
Yonggang Luo
revmap: load/save _youngest using new load_string and save_string API
Yonggang Luo
utils: add {save,load}_string since this is a fairly common idiom
Yonggang Luo
setup.py: clean up indentation
Yonggang Luo
maps: s/hash/ha/ and s/map/m/ to avoid hiding Python builtins Also rename unused sbuf -> _sbuf.
Yonggang Luo
svnexternals.py: style cleanups Prefixed unused variables that have to stay because of tuple unpacking with _, removed some unused variables, fix some trailing whitespace.
Yonggang Luo
Ignore eclipse project files and mercurial .orig files.
César Izurieta
Ignore nbproject
Augie Fackler
stupid/filemap: disable this since it doesn't currently work hg 1.9 dramatically cleaned up patch application, but unfortunately this breaks stupid mode with filemaps. In the name of getting a release out the door, disabling this feature for now. There will be changes required in hg to make this work again, so we may just drop the feature entirely if nobody's interested.
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
  1. Prev
  2. Next