Commit Graph

18 Commits

Author SHA1 Message Date
Patrick Mezard
ac24c74682 Document subrepository externals 2010-12-12 15:14:07 +01:00
Dan Villiom Podlaski Christiansen
e7e5d3b8b5 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.
2010-11-28 03:47:04 +01:00
Augie Fackler
5821f680b6 docs: document new config knob for externals support 2010-11-28 20:37:19 -06:00
Dan Villiom Podlaski Christiansen
4305e3545f help topic: numerous cleanups.
Many of these are thanks to timeless' review!
2010-11-04 18:24:18 +01:00
anatoly techtonik
51b4a561d4 usage examples for single directory clones 2010-10-25 16:20:32 +03:00
Dan Villiom Podlaski Christiansen
594b08e65f help topic: mention how "hg clone" can delete stuff.
This quip was requested by Steve Borho.
2010-10-30 19:58:32 -05:00
Dan Villiom Podlaski Christiansen
2fa6c3592c 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.
2010-10-09 16:20:52 -05:00
Dan Villiom Podlaski Christiansen
04eaea5235 uisetup: add fromsvn() and svnrev() revsets. 2010-10-05 16:26:19 +02:00
Dan Villiom Podlaski Christiansen
799dc6ce7b 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 with rst2html and
put it somewhere appropriate on the internet.
2010-09-29 18:04:26 +02:00
Dan Villiom Podlaski Christiansen
d7fde1dbae 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.
2010-09-29 18:04:26 +02:00
Dan Villiom Podlaski Christiansen
d0bade927f templatekw: clean up implementation & test; add help.
The core logic is cleaned up and moved to the wrappers module. The
test made to test that it works with original Mercurial changesets, is
cleaned up so that it can be more easily extended in the
future. Finally, documentation is added for the feature.
2010-09-29 18:04:26 +02:00
Dan Villiom Podlaski Christiansen
d624550482 subversion.rst: mention externals support limitations. 2010-09-07 14:33:56 +02:00
Dan Villiom Podlaski Christiansen
076d839f19 subversion.rst: list memory leaks in the section on limitations 2010-09-07 14:33:56 +02:00
Dan Villiom Podlaski Christiansen
ee6b1311b0 clone: replace the --singlebranch with overloading for --branch
Instead of adding yet another option, we take the --branch option to
mean the resulting branch name. It's stored in the branch map.
2010-09-23 16:54:27 +02:00
Dan Villiom Podlaski Christiansen
97cdf7efab subversion.rst: mention lack of directory tracking (see issue 202) 2010-09-03 00:35:47 +02:00
Dan Villiom Podlaski Christiansen
d7bb1d26a9 subversion.rst: fix 'typo' in help for the hgsubversion.defaultauthors option. 2010-09-03 00:35:47 +02:00
Dan Villiom Podlaski Christiansen
7bc9b7dc45 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_BINDINGS=subvertpy hg version --svn
Mercurial Distributed SCM (version 1.6+172-b25e1ced9861)
...
hgsubversion: 1.1.2+43-276742da2d85
Subversion: 1.6.12
bindings: Subvertpy 0.7.4

% HGSUBVERSION_BINDINGS=none hg version --svn
Mercurial Distributed SCM (version 1.6+172-b25e1ced9861)
...
abort: cannot use hgsubversion; bindings disabled using HGSUBVERSION_BINDINGS!
2010-08-11 20:03:47 +02:00
Dan Villiom Podlaski Christiansen
934f019d60 help: add an rst file containing some helpful instructions
The new file contains three sections: The first one is based on the
README and contains instructions on how to use hgsubversion. The
second one mentions the most notable shortcomings of hgsubversion. The
third and final section documents how to customise hgsubversion.
2010-08-11 19:57:34 +02:00