1. Nick Loadholtes
  2. hgsubversion

Commits

Author Commit Message Date Builds
Peter Arrenbrecht
tests: remove constant rev no from test script
Peter Arrenbrecht
tests: move _add_svn_rev to test_util for reuse
Peter Arrenbrecht
tests: add --show-stdout option to run.py
Augie Fackler
templatekw: restore compatibility with hg < 1.5 The templatekw module was new in 1.5 - it looks nontrivial to extend the templater in 1.4.x and earlier, so just disable this feature on those versions.
Dan Villiom Podlaski Christiansen
subversion.rst: mention lack of directory tracking (see issue 202)
Dan Villiom Podlaski Christiansen
subversion.rst: fix 'typo' in help for the hgsubversion.defaultauthors option.
Andi Albrecht
Add svnrev, svnpath and svnuuid keyword. Based on a patch by Wagner Bruna posted here: http://groups.google.com/group/hgsubversion/browse_thread/thread/b3913337e021ab18
Dan Villiom Podlaski Christiansen
tests: add a Makefile for easily running the tests. The Makefile tests one thing which isn't easily tested from within Python; that the svnwrap modules aren't loaded for irrelevant commands.
Dan Villiom Podlaski Christiansen
tests: add an option to the test-runner for selecting bindings.
Dan Villiom Podlaski Christiansen
setup: require Subvertpy when the SWIG bindings are unavailable. This isn't quite good enough if the Subversion installation is too old, but we'd have to replicate the actual version check to deal with that.
Dan Villiom Podlaski Christiansen
svnwrap: add runtime override for choice of Subversion bindings By setting the `HGSUBVERSION_BINDINGS environment variable to either `SWIG' or `Subvertpy', the choice of bindings can be forced at runtime. (For ease of use, the comparison is case-insensitive.) Examples: % HGSUBVERSION_BINDINGS=swig hg version --svn Mercurial Distributed SCM (version 1.6+172-b25e1ced9861) ... hgsubversion: 1.1.2+43-276742da2d85 Subversion: 1.6.12 bindings: SWIG % HGSUBVERSION…
Dan Villiom Podlaski Christiansen
README: mention Subvertpy. Change the README to mention Subvertpy and provide help on how to check that hgsubversion works properly.
Dan Villiom Podlaski Christiansen
svnwrap: suggest installing Subvertpy when no bindings are present
Dan Villiom Podlaski Christiansen
svnwrap: activate & prefer subvertpy bindings when available All tests pass.
Dan Villiom Podlaski Christiansen
svnwrap: add subvertpy wrapper Subvertpy is, in many ways, a better interface to Subversion than the SWIG bindings. It's faster, leaks less and offers a cleaner API. The added wrapper is able to coexist with the SWIG wrapper, and not enabled by default. In order to allow this, the wrapper adapts the output from Subvertpy so that it is similar to the output from the SWIG bindings. An example of this can be seen in the modules th…
Dan Villiom Podlaski Christiansen
svnwrap: improve a docstring & a comment. The docstring for SubversionRepo was technically inaccurate; not only do we require Subversion 1.5, but the reference to a required parameter is inaccurate, as the parameter has a default value. (To be fair, relying on the default value is unlikely to work...) Part of a comment in SubversionRepo.revisions() was redundant, and could be removed. No functionality change.
Dan Villiom Podlaski Christiansen
svnwrap: use decorator syntax for properties. The original reason not to use property syntax was that it didn't work with Python 2.3. Mercurial dropped support for it more than a year ago... No functionality change.
Dan Villiom Podlaski Christiansen
editor: move ieditor decorator into svnwrap. The Subvertpy wrapper will not need this decorator, and moving the decorator into svnwrap will allow the wrapper to provide a no-op replacement. No functionality change.
Dan Villiom Podlaski Christiansen
svnwrap: factor out a common module The new `common' module holds code not specific to the SWIG wrapper. Factoring it out makes providing multiple wrappers easier. No functionality change, although imports in one test were updated.
Peter Arrenbrecht
svnmeta: strip all repeated slashes from subdir
Augie Fackler
Merge backout of incorrect patch.
Augie Fackler
Backed out changeset d0692ce98ea6 I applied the wrong version of Peter's patch.
Dan Villiom Podlaski Christiansen
svnwrap: s/_chunk_size/chunk_size/ The underscore prefix suggests that the chunk_size is a private variable. There's no reason for this, so we remove it in preparation for a refactoring. No functionality change.
Dan Villiom Podlaski Christiansen
svnwrap: s/core.SubversionException/SubversionException/ A recent change made core.SubversionException a member of svnwrap. Referencing it directly makes the code ever so slightly cleaner. No functionality change.
Dan Villiom Podlaski Christiansen
svnwrap: remove dead code Some member functions of SubversionRepo were unused, and removing them frees other wrappers from adding possibly incorrect implementations of them. Two methods, `tags_at_rev' and `_get_copy_source' were completely unused and could easily be removed. Another two methods, `branches' and `tags' had explicit tests for them but weren't used in the code proper; they were removed too. The START property…
Dan Villiom Podlaski Christiansen
svnwrap: kill the ctypes wrapper. The wrapper was never anywhere near functional, and with the upcoming subvertpy wrapper, the need for it has diminished. If the implementation is ever completed, the code can be recovered from the history of the repository. No functionality change.
Dan Villiom Podlaski Christiansen
version: mention bindings type in version In addition, the version output has been rejiggered a bit to mention the version of hgsubversion first. While at it, `svn' is changed to `Subversion', as this is its the proper name. Before: % hg version --svn ... svn bindings: 1.6.12 hgsubversion: 1.1.2+45-123ac53a6343 After: % hg version --svn ... hgsubversion: 1.1.2+45-123ac53a6343 Subversion: 1.6.12 bindings: SWIG
Dan Villiom Podlaski Christiansen
tests: add a fixture that exercises the fix made in 1add57910c82.
Dan Villiom Podlaski Christiansen
README: remove usage instructions, and refer to the help topic instead. The diff for the change can be somewhat hard to read, but all it does is replace the `Basic Use' and `Support for svn:externals' sections with the following section: Further Reading --------------- More information on how to use hgsubversion is available from within Mercurial in the `subversion` help topic. To view it, use:: $ hg help subversion The Restructured Text source for this topic is …
Peter Arrenbrecht
svnmeta: strip all repeated slashes from subdir
  1. Prev
  2. Next