Patrick Mezard
3cdd5ec399
svnwrappers: override svn+ssh credentials with supplied ones if any
...
svn+ssh URLs are special because the authentication layer is not handled by
svn, so they must contain the username to be resolved seamlessly. Until now,
credentials supplied from the command line were ignored when rewriting those
URLs. Fix that.
2009-07-18 20:44:33 -05:00
Patrick Mezard
e32ff65d7c
pushmod: pass SubversionRepo directly to commit()
2009-07-18 20:44:33 -05:00
Patrick Mezard
27f9d173fc
util: remove swap_out_encoding() deprecated comment
2009-07-18 20:44:33 -05:00
Patrick Mezard
15296e29f4
Extend svnrepos with SubversionRepo and SVNMeta
...
SubversionRepo and SVNMeta are now hidden behind svnremoterepo and
svnlocalrepo. It unifies the way svn credentials are read from the command line
and configuration file, at the cost of import cycle between svnrepo and
wrappers. It is currently not a big deal thanks to demandimport.
2009-07-18 20:44:33 -05:00
Patrick Mezard
8f7a6948c6
Unify svn credentials handling as config entries
...
It has 2 benefits:
- It generalizes the use of hgsubversion.username/password initiated in
push/pull.
- Command line options are no longer need to create SubversionRepo, so we can
move this out of command handling code.
2009-07-18 20:44:33 -05:00
Patrick Mezard
66eef590dc
genignore: collect ignore lines, then write them
...
Also, ignore the useless hg_repo_path argument, use supplied repository
instead.
2009-07-18 20:44:33 -05:00
Patrick Mezard
4531a85f02
wrappers: make push aborts if uncommitted changes
2009-07-18 20:44:33 -05:00
Augie Fackler
c6bfa418c4
tagmap: missed newline in rebuildmeta warn call
2009-07-06 09:17:26 -05:00
Augie Fackler
1f1893a95a
tags: fix a bug triggered by copies from non-branch-roots
...
I have not included a test case because I can't iron out
the specifics of what causes this bug. This allows
jquery to finish cloning successfully. Further inspection
of the jquery history around 4400:4410 should allow
construction of a meaningful test case.
2009-07-05 22:01:38 -05:00
Augie Fackler
65ebb3cfa8
rebuildmeta: remove any existing tagmap file.
2009-07-05 21:44:35 -05:00
Augie Fackler
9ec1da5d2e
Merge with mpedersen.
2009-07-05 21:13:13 -05:00
Michael J. Pedersen
52ffb9f9dd
Second fix required for our tags to work.
2009-07-02 16:37:33 -05:00
Michael J. Pedersen
45d726e3c6
This patch fixes, partially, an issue with tagpaths.
...
I found that, when using the tagpaths variable, I would actually get fatal
exceptions when the clone was happening. This line prevents the fatal
exception from occurring.
2009-07-02 16:12:09 -05:00
Augie Fackler
a78e0c54cf
tags: be more aggressive about not copying from tags we do not have
2009-07-01 14:43:43 -05:00
Augie Fackler
0b5a9621bd
tags: handle copyfrom old versions of tags more correctly
2009-07-01 14:42:46 -05:00
Augie Fackler
3a686b9460
tags: allow editing tags of closed branches without reopening the branch
2009-06-26 14:53:58 -05:00
Augie Fackler
e38b2d76ae
tags: handle tags from edited tags.
2009-06-26 11:12:14 -05:00
Augie Fackler
7d59773522
tags: Handle edits to edited tags.
2009-06-26 10:34:32 -05:00
Augie Fackler
088caa5246
tags: handle editing a tag and its source branch simultaneously
2009-06-23 22:15:20 -05:00
Augie Fackler
35a0874bd4
tags: reinstate a tag map file in a better way
2009-06-23 21:33:40 -05:00
Augie Fackler
2c9a8097db
tags: handle edits to tags as gracefully as possible
2009-06-23 21:38:27 -05:00
Dirkjan Ochtman
5f07c4ad16
svncommands: get update working again
...
Needs tests. May be better as a wrapper, triggering on r\d+.
2009-06-16 14:10:57 +02:00
Dirkjan Ochtman
51e7cf285e
tests: test for heads equality instead of branchtags
...
branchtags may exclude other heads which could be dissimilar.
2009-06-16 13:58:39 +02:00
Dirkjan Ochtman
3f9bc70ee4
wrappers: save tbdelta in one place for both stupid and replay
2009-06-16 13:59:03 +02:00
Dirkjan Ochtman
d74dc3b1e1
svnrepo: remove unused localsvn decorator
2009-06-16 13:33:30 +02:00
Dirkjan Ochtman
20a8fbfbe6
tools: remove obsolete converttags.sh script
2009-06-16 13:13:43 +02:00
Dirkjan Ochtman
96d7e7ad12
svncommands: use rev instead of verifynode -- should not have to be a node
...
rev is also more compliant with other hg ui, and would nicely translate into
a -r option from the command line.
2009-06-16 13:04:21 +02:00
Dirkjan Ochtman
ca23830de1
move remaining cmdutils into util
2009-06-16 13:33:47 +02:00
Dirkjan Ochtman
4532a3539c
cmdutil: remove unused function issvnurl()
2009-06-16 09:26:20 +02:00
Dirkjan Ochtman
12a485b0c2
pushmod: split push functions out into separate module
2009-06-16 09:12:20 +02:00
Dirkjan Ochtman
fcfa85453a
replay: merge functions into a single function
2009-06-16 09:12:04 +02:00
Dirkjan Ochtman
7b21573bcb
editor: move find missing files routine into RevisionData class
2009-06-16 09:11:52 +02:00
Dirkjan Ochtman
bceaad1289
replay: start new replay module that has the relevant functions
2009-06-16 08:43:12 +02:00
Dirkjan Ochtman
9df31e8bd1
editor: move exception data into RevisionData class
2009-06-16 08:42:15 +02:00
Dirkjan Ochtman
a8685ca30f
editor: move set_file() and delete_file() methods to RevisionData class
2009-06-16 08:41:28 +02:00
Dirkjan Ochtman
d4c51cbdd5
consolidate metadata calls from stupid and replay code
2009-06-15 16:10:24 +02:00
Dirkjan Ochtman
7bbaf3c863
inline describe_revision(), use custom termwidth
2009-06-15 22:31:15 +02:00
Dirkjan Ochtman
c9ba1e00a4
maps: make sure AuthorMaps don't overwrite themselves, fix overriding
...
Author maps for the Python repo got truncated because of the author map stupidly
writing upon itself. This patch implements a better and faster scenario, where
entries will only be written to the saved author map if they're not coming from that
file. They're also now streamed into the file directly, instead of having to re-open
the file on every entry, and formatting is preserved.
2009-06-15 16:09:27 +02:00
Augie Fackler
51c4c9b8ed
blacklist svn for demandimport.
2009-06-16 12:00:03 -05:00
Augie Fackler
b9ad5e3b80
Fix syntax highlighting in emacs.
2009-06-16 11:59:47 -05:00
Augie Fackler
55bb232af4
verify: take a kwarg for node to check.
...
Fixes verify tests on case-insensitive filesystems.
2009-06-15 12:26:21 -05:00
Augie Fackler
34e86485e6
tests: make comprehensive tests work properly with nose and run.py
2009-06-15 12:26:20 -05:00
Augie Fackler
ca9949dbb3
tests: fix for new branch heads change in upstream hg.
2009-06-15 12:26:19 -05:00
Augie Fackler
35ec5ca59e
stupid: handle the new eol option in hg-crew.
2009-06-15 12:26:18 -05:00
Dirkjan Ochtman
67ede8871d
put convert_revision in branch-closing csets
2009-06-12 09:24:46 +02:00
Dirkjan Ochtman
a60704ff6b
svnmeta: move util.build_extra() to SVNMeta.genextra()
2009-06-12 08:37:39 +02:00
Dirkjan Ochtman
8569447fd4
editor: rename hg_delta_editor.HgChangeReceiver to editor.HgEditor
2009-06-11 19:15:18 +02:00
Dirkjan Ochtman
030c2ae528
svnmeta: eliminate unneeded path_and_branch_for_path() method
2009-06-11 19:10:05 +02:00
Dirkjan Ochtman
0184b19f7d
imported patch import-cleanup
2009-06-11 18:57:55 +02:00
Dirkjan Ochtman
b0877c363c
save metadata from one place
2009-06-11 18:48:43 +02:00