Commits

Show all
Author Commit Message Labels Comments Date
anatoly techtonik
usage examples for single directory clones
Tags
1.2
Dan Villiom Podlaski Christiansen
help topic: mention how "hg clone" can delete stuff. This quip was requested by Steve Borho.
Dan Villiom Podlaski Christiansen
maps: map a missing author to '(no author)' "None" doesn't really make much sense, so we use what 'svn log' shows instead. This also fixes mapping this author to something else.
Dan Villiom Podlaski Christiansen
test_util: use SkipTest if provided by the unittest module. This is the case with Python 2.7.
Augie Fackler
Merge
Dan Villiom Podlaski Christiansen
setup/README: update Subvertpy requirement to 0.7.4.
Augie Fackler
test_push_dirs: use common commit-building infrastructure
Peter Arrenbrecht
subvertpy: fix bug with pushing changes to stuff in subdirs Seems one needs to call direditor.open_file(path) with a full path, not one that is relative to the direditor's directory.
Dirkjan Ochtman
implement tag renames This uses a separate map, since the purpose is very different from the purpose of the TagMap that we currently have. It seemed to me that unifying both will only serve to make the implementation more complicated. The name TagRenames is not that elegant, but I didn't have any better idea. Feel free to change.
Dirkjan Ochtman
rename TagMap to Tags, to free up the TagMap name
Augie Fackler
tests: fix test skipping in pure unittest
Dirkjan Ochtman
keep variables more local, add some whitespace
Dirkjan Ochtman
fix some style nits
Dirkjan Ochtman
fix some line lengths
Augie Fackler
revset tests: use requiresmodule decorator
Dan Villiom Podlaski Christiansen
uisetup: add fromsvn() and svnrev() revsets.
Augie Fackler
test_template_keywords: use new requiresmodule decorator
Augie Fackler
test_util: new requiresmodule decorator for tests that require a feature
Augie Fackler
test_util: refactor requiresoption to ease creation of other skip decorators
Dan Villiom Podlaski Christiansen
wrapper: fail properly with unsupported versions of Subvertpy (fixes #212) Calling subvertpy.wc.api_version() will raise an AttributeError with versions of Subvertpy prior to 0.7.4. This AttributeError completely breaks hgsubversion, as our infrastructure assumes that only ImportErrors are raised during imports. Delaying the call to api_version() until after the Subvertpy version check should make things work again.
Dan Villiom Podlaski Christiansen
svnwrap: fix handling of quotable URLs (fixes #197, refs #132) The way hgsubversion handles URLs that may or may not be quoted is somewhat fragile. As part of fixing issue 132 in 925ff8c5989c, the path component of URLs was always quoted. The URL has been attempted encoded since the initial check-in. The fix from 925ff8c5989c was incomplete; reverting it allows us to clone a URL with a '~' in it.[1] Encoding the URL as UTF-8 seldom works as expected, as the …
Augie Fackler
requiresoption: raise SkipTest if available This has the unfortunate (I guess?) side effect that you can no longer use pure unittest to run skipped tests if nose or unittest2 is installed.
Augie Fackler
requiresoption: clean up docstring
Dan Villiom Podlaski Christiansen
help topic: cosmetic improvements. First, use of :hg:`...` is replaced with ``hg ...``. The former syntax isn't useful outside core Mercurial. Second, a few instances of `...` are replaced with ``...``. The minirst parser doesn't distinguish between the two, but using docutils, the former results italics and the latter in fixed width text. Finally, a few extra ``...`` are added. With these changes, we could process the help topic …
Dan Villiom Podlaski Christiansen
clone: call the wrapped function (fixes #181) This is a regression that was brought to my attention in #mercurial: hgsubversion breaks the --update flag. The cause is that we call hg.clone() directly rather than the original wrapped function. A comment in 'wrapper.py' noted that the call to hg.clone() should be kept in sync with 'mercurial/commands.py'. That didn't happen. The original reason for calling hg.clone() directly was that we neede…
Dan Villiom Podlaski Christiansen
tests & help: fix compatibility with Mercurial 1.4 and earlier. The --branch option to clone, pull, etc., was introduced in 1.5, and our handling of it assumes that Mercurial also provides it. As a result, both documentation and the test are changed to reflect this.
Dan Villiom Podlaski Christiansen
test_util: add requiresoption decorator function.
Dan Villiom Podlaski Christiansen
svnrepo: make the svnurl property obtain the URL from Subversion. This causes an access to the svnurl property to connect to the repository. One of the tests uses an invalid URL, and so had to be updated to bypass this.
Dan Villiom Podlaski Christiansen
subvertpy wrapper: check against Subversion version compiled against. The previously used method for checking the Subversion version, subvertpy.wc.version(), reported back the version of the runtime library used. This is not what we're interested in; we want to know what version it was compiled against. These functions were not available in Subvertpy 0.7.3, necessitating the earlier bump of the version requirement to 0.7.4.
Dan Villiom Podlaski Christiansen
subvertpy wrapper: bump version requirement to 0.7.4. 0.7.4 was released on 2010-09-25 or 25 September 2010.
  1. Prev
  2. Next