Commits

Author Commit Message Labels Comments Date
Dan Villiom Podlaski Christiansen
incoming: pass unexpanded source to wrapped function (fixes #178) This will allow the MQ extension to use paths from the patch repository.
Dan Villiom Podlaski Christiansen
make the default substition for an empty commit description the empty string
Dan Villiom Podlaski Christiansen
configurable substitution for empty commit message (fixes #195) The value of the default commit message is now configurable by setting 'hgsubversion.defaultmessage'. In addition, the log output is made consistent with the result of the conversion.
Dan Villiom Podlaski Christiansen
test_fetch_mappings: actually test stupid mode in test_author_map_no_author()
Dan Villiom Podlaski Christiansen
add a MANIFEST.in file (fixes #142) This ensures that source archives include help, tests and our Makefile.
Dan Villiom Podlaski Christiansen
tests: fix running the comprehensive tests using nose.
Augie Fackler
docs: document new config knob for externals support
Patrick Mézard
svnexternals: support pushing subrepo based externals
Patrick Mézard
svnexternals: support subrepos based externals checkout
Patrick Mézard
svnexternals: preliminary support for subrepos based externals At this point, only pulling externals definitions into .hgsub and .hgsubstate is supported. One difference between subrepos and svn:externals is the former separate the source definition and target revision in two files, while svn:externals definitions contain both. To handle this, the svn:externals revision references is replaced with a {REV} placeholder and stored in .hgsub, prefixed with the ex…
Patrick Mézard
svnexternals: generate externals with a revision placeholder This is the first step to separate source URL from revision identifier as required by subrepos.
Patrick Mézard
Extract files not to be pushed in util
Patrick Mézard
svnexternals: keep diff() simple for the caller, return a list
Patrick Mézard
svnexternals: hide .hgsvnexternals parsing in parse()
Patrick Mézard
pull: stop handling .hgsvnexternals explicitely in memctx
Patrick Mézard
replay: extract externals updating from convert_rev() Partially revert 45ce07a4807f
Dan Villiom Podlaski Christiansen
svn metacommand: improved argument checking We now fail gracefully in case of a missing or invalid argument to 'update', and in case of an unknown subcommand.
Dan Villiom Podlaski Christiansen
svncommands: abort on missing metadata or Subversion URL (fixes #226)
Dan Villiom Podlaski Christiansen
rename our uisetup initialization method into extsetup We're not doing any ui-specific setup, so we can use the old form and remain compatible with Mercurial 1.3.
Dan Villiom Podlaski Christiansen
revsets: add docstrings.
Dan Villiom Podlaski Christiansen
wrappers: pass on subdir when creating obtaining svnmeta The incoming, outgoing and push commands are updated. Running any of parents, diff and rebase as the first command will fail, suggesting an 'hg svn rebuildmeta'.
Dan Villiom Podlaski Christiansen
svnremoterepo: remove unused 'svnuuid' property
Augie Fackler
pull: handle change in termwidth() api from hg change c52c629ce19e
Dan Villiom Podlaski Christiansen
svnmeta: store subdir in a file, and verify it when loading.
Dan Villiom Podlaski Christiansen
svnmeta: slight refactor of the UUID property. Simplify the getter by setting self.__uuid in the setter.
Dan Villiom Podlaski Christiansen
svnmeta: abort when no UUID given and none is stored on disk. Previously, not passing a UUID when instantiating an SVNMeta instance would cause it to succeed even if no UUID was previously known. First when the UUID was actually read would an exception be raised. This slight refactoring of _set_uuid() makes it so an exception is raised immediately. While at it, the exception message is changed to be slightly more accurate and helpful.
Dan Villiom Podlaski Christiansen
svnmeta: cache the UUID in an attribute. We use a try/except clause in the getter to keep complicated logic in the setter.
Dan Villiom Podlaski Christiansen
tests: make assertMultiLineEqual call super, if possible. Python 2.7 provides such a method.
Dan Villiom Podlaski Christiansen
test_utility_commands: use self.assertMultiLineEqual(). The previous assertStringEqual() utility method pointed to standard output. This is fairly annoying when running our own test-runner as it suppresses that output. The assertMultiLineEqual() method shows essentially the same information in the AssertionError itself. While at it, all other comparisons that contain line-breaks are made to use assertMultiLineEqual().
Dan Villiom Podlaski Christiansen
remove redundant calls to fd.flush() prior to doing fd.close().
  1. Prev
  2. Next