Commits

Show all
Author Commit Message Labels Comments Date
Augie Fackler
Merge fix for pushable bookmarks.
Tags
1.1.2
James McKay
tests: Use tempfile.TemporaryFile instead of os.tmpfile() to redirect stdout. os.tmpfile requires administrator privileges on Windows XP and may be blocked by UAC on Windows Vista/7. In any case, it is deprecated in favour of tempfile.TemporaryFile. See http://bugs.python.org/issue2232
James McKay
svnrepo: fix issue 187: ignore pushable bookmarks in hg 1.6 Mercurial 1.6 introduces two new methods for repo subclasses -- pushkey and listkeys -- to support pushing/pulling bookmarks between hg repositories. (See mpm's blog post http://www.selenic.com/blog/?p=644 for details.) Unfortunately, these are only defined in the subclasses, and not in the repo base class. Perhaps the bookmarks extension should also be checking the repo for pushkeys capability b…
Augie Fackler
Added tag 1.1.1 for changeset 8e621dbb82d4
Augie Fackler
push: return reasonable status codes to the end user
Tags
1.1.1
Augie Fackler
tests: fix misnamed test caught while hunting unrelated bugs
Dan Villiom Podlaski Christiansen
maps: don't set the `seen' attribute in TagMap.__init__(). This seems like something left over from copying RevMap.__init__(); the attribute does not make sense for TagMap, nor is it ever expected to have it.
Dan Villiom Podlaski Christiansen
stupid: lower patch application failure output to verbose. There is no reason to notify all users when patches fail to apply, as we are able to handle it internally.
Dan Villiom Podlaski Christiansen
test_rebuildmeta: use just added diff support when comparing files.
Dan Villiom Podlaski Christiansen
test_util: add assertMultiLineEqual() method. This method is based on code from the CPython py3k branch; it prints out a diff on failure.
Augie Fackler
wrappers: cope with remoteui move to hg (hg cset d1908cb95a82)
Augie Fackler
util: handle change to hg.parseurl from 3d6915f5a2bb
Augie Fackler
svnrepo: support new discovery module introduced in 3d0591a66118
Augie Fackler
pull: handle argspec change from e43c23d189a5
Dan Villiom Podlaski Christiansen
svncommands: add two missing imports Two imports used when printing tracebacks were missing. They were easily missed as this code isn't exercised unless an exception happens to be raised during the execution of one of the `svn' subcommands.
Augie Fackler
tests/run.py: make sure our hgsubversion loads correctly
Dan Villiom Podlaski Christiansen
testrunner: use demandimport, with an option to disable it
Dan Villiom Podlaski Christiansen
testrunner: delay and `simplify' importing of tests
Dan Villiom Podlaski Christiansen
setup: check for Subversion by importing the `svnwrap' module.
Dan Villiom Podlaski Christiansen
svncommands: fix layering violation & tweak error messages. Importing `SubversionException' directly from `svn.core' is a layering violation: Anything within the Subversion bindings should only be accessed via svnwrap. The advantages to doing this are twofold: we only need to intercept missing bindings in one place, and we have the option of supporting alternate bindings. As an added bonus, the recently-added support for intercepting missing Subversion bi…
Dan Villiom Podlaski Christiansen
testrunner: use optparse
Dan Villiom Podlaski Christiansen
svnwrap: use SubversionConnectionException instead of mercurial.util.Abort This makes svnwrap independent of Mercurial.
Dan Villiom Podlaski Christiansen
push: remove superfluous creation of a new `svnremoterepo' instance.
Dan Villiom Podlaski Christiansen
svn_swig_wrapper: improved handling of missing or outdated bindings. Instead of aborting with a generic message when Subversion bindings are missing, provide a helpful message. Also, the version check is refactored to make it easier to bump our requirements in the future. Finally, error messages are shorten so they fit in 80 columns along with the standard `abort: ' prefix.
Patrick Mézard
wrappers: fix pull output if termwidth() is inexact This is going to happen soon on Windows.
Augie Fackler
stupid: update monkeypatch for 91c58cf54eee
Dan Villiom Podlaski Christiansen
pull: fix passing credentials in URL. Previously, the parsed URL - with credentials removed - was used for instantiating a new svnremoterepo instance. One option for fixing this is using the unparsed URL for this instantiation. An even better option, however, is to simply reuse the instance passed to the function as `source'.
Dan Villiom Podlaski Christiansen
metacommand: use AmbiguousCommand from hg for consistency.
Dan Villiom Podlaski Christiansen
wrappers.pull: fix calculation of progress totals. The previous calculation was wrong and could lead to negative totals; it substracted a revision number from totals, from which the start revision has already been subtracted.
Dan Villiom Podlaski Christiansen
isolate all imports of Subversion modules in svnwrap. editor: move dependancy on Subversion bindings to svnwrap package. In the editor, this involves importing the superclass of `HgEditor' as `svnwrap.Editor'. Additionally, the `delta.svn_txdelta_apply()' function has been abstracted away into a simpler interface, stored in `svnwrap.apply_txdelta()'.
  1. Prev
  2. Next