Commit Graph

28 Commits

Author SHA1 Message Date
Sean Farley
33f1a86acf help: remove pre-1.7 text 2013-09-06 18:34:08 -05:00
Sean Farley
07306ff725 help: remove pre-1.6 text 2013-09-06 18:31:40 -05:00
Sean Farley
aae3eed6ba help: remove pre-1.5 text 2013-09-06 18:30:59 -05:00
David Schleimer
2fdfe1063a layouts: add support for an infix between tbt and the hg root 2013-09-11 10:55:01 -07:00
David Schleimer
5128649634 layouts: add support for configuring branches directory
This should work for both alternately named directories (e.g. releases
instead of branches), as well as subdirs (branches/releases), and
combinations thereof (releases/public).
2013-06-11 17:53:31 -07:00
David Schleimer
d38a6b70a1 layouts: add custom layout for those of us that need weird mappings
This adds a config-driven custom layout, targeted at the case where
you need to fetch a small subset of a large number of subversion
branches, or where your subversion layout doesn't match the standard
trunk/branches/tags layout very well.
2013-08-26 16:40:31 -07:00
Patrick Mezard
f1be3abd56 pull: add hgsubversion.filestoresize to control memory consumption
The configuration entry defines the size of the replay or stupid edited
file store, that is the maximum amount of edited files data in megabytes
which can be kept in memory before falling back to storing it in a
temporary directory. Default to 200 (megabytes), use -1 to disable.
2012-09-28 21:43:50 +02:00
Bryan O'Sullivan
dc0310ba92 pull: add a hgsubversion.unsafeskip option to omit unwanted revs 2012-05-16 16:52:25 -07:00
Jerome M. BERGER
f411ca18f8 Added ability to configure the password stores 2011-11-22 11:54:25 +01:00
Patrick Mezard
27afa02659 svnexternals: add 'ignore' mode to avoid converting externals 2010-12-12 15:32:25 +01:00
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