David M. Carr
f89059b98d
tests: tweak which hg versions run test-pull-after-strip
...
Without this change, the test is skipped for modern versions of Mercurial
with minor version less than 5, despite the test actually passing for said
versions.
2012-07-31 22:55:15 -04:00
Augie Fackler
15e2601c3a
overlaymanifest: add the withflags method introduced in hg change 3f7abfd06d2d
2012-07-26 18:59:19 -05:00
Augie Fackler
e49137e34a
girepo: add _capabilities method expected after the peer refactor
2012-07-26 18:58:18 -05:00
Toshi MARUYAMA
2833d729d3
hgrepo: fix _findtags changes on Mercurial 2.2
2012-07-08 16:10:23 +09:00
Artem Tikhomirov
274ecce47c
repository in mercurial.repo.py starts with lowercase
2012-07-26 19:01:17 +02:00
Augie Fackler
13504b1f1e
gitrepo: correct capitalization of peerrepository
2012-07-19 19:36:57 -05:00
Bryan O'Sullivan
d0a3db710b
gitrepo: cope with module/class renames in hg 2.3
2012-07-18 13:16:43 -07:00
Kevin Bullock
5ea6165dba
git_handler: fix import_git_objects for Mercurial 2.0+ (issue 36)
...
This resolves a traceback on pull where hg-git is looking for the
nonexistent repo._tagtypes.
2012-07-04 09:39:23 -05:00
Brian Warner
4f0930a5b3
README: add URLs of homepage, primary hg repo, and git mirror repo
...
---
README.md | 4 ++++
1 file changed, 4 insertions(+)
2012-07-05 17:40:18 -05:00
Brian Warner
efe1453bed
README: add URLs of homepage, primary hg repo, and git mirror repo
2012-06-26 11:41:53 -07:00
Augie Fackler
27851f0e49
gitrepo: add url() attribute to fix subrepo support
2012-05-12 03:33:19 -05:00
Augie Fackler
768d569dec
tests: cope with yet another git output format change
2012-04-21 12:37:08 -05:00
Augie Fackler
62d195c6c8
git_handler: add missing not from hg metadata extraction
2012-04-21 12:21:29 -05:00
Augie Fackler
9ada7156ea
test-url-parsing.py: add a test for a username that starts with a number
...
This had broken at some point, and it's currently fixed. Added a test
to keep it from regressing in the future.
2012-04-20 21:16:32 -05:00
Augie Fackler
ecc1e7635e
test-url-parsing.py: stop manually enumerating test methods
2012-04-20 21:11:19 -05:00
Augie Fackler
0df3538436
Merge
2012-03-31 13:59:57 -05:00
Sean Farley
b8476fff7c
git_handler: fix line.split error when bad data from a rebase is in the log
2012-03-31 13:55:06 -05:00
Augie Fackler
ebdcf136f1
tests: update for newer git output format
2012-03-31 13:35:49 -05:00
Mike Bayer
f764a03014
- add "author file" extension, allows an author translation map
...
to put more legit author names in the outgoing git repo
2012-02-23 13:49:07 -05:00
Mike Bayer
6ca9e6dcd1
Add documentation for branch_bookmark_suffix configuration parameter
2012-02-25 16:13:02 -05:00
Keshav Kini
89e9168ff4
Remove illegal characters from username/email
...
Includes a doctest and tests in test-hg/author for the correct behavior.
2012-02-15 09:30:06 +08:00
Jason R. Coombs
c927a00fe4
Strip trailing slash for heroku-style URLs. Fixes #31 . Includes a regression test for the fix.
2012-01-27 22:48:55 -05:00
Jason R. Coombs
9eee4f19dc
Removed support for URLs beginning with git@. These URLs are not possible from within mercurial.
2012-01-27 13:24:31 -05:00
Jason R. Coombs
dce42e28df
Simplified URL handling with a single regular expression. This change enables port declarations with colon-separated urls.
2012-01-26 22:20:31 -05:00
Augie Fackler
11ea28f917
Bump version number for release.
2012-01-27 11:52:42 -06:00
Augie Fackler
2d280d3dfb
Update for newer dulwich and hg versions.
2012-01-27 11:06:27 -06:00
Mike Bayer
05e4d83f4b
- add "branch_bookmark_names" parameter. this allows bookmarks
...
that mimic a branchname to be maintained on the git side without
a particular suffix - e.g. if the hg repo had a branch "release_05",
and a bookmark created onto it "release_05_bookmark", the branch on the
git side would be named "release_05". When pulling branches back from
git, if an hg named branch of that name exists, the suffix is appended
back onto the name before creating a bookmark on the hg side.
This is strictly so that a git repo can be generated that has the
same "branch names" as an older hg repo that has named branches, and
has had bookmarks added in to mirror the branch names.
This is given the restrictions that
A. hg named branches can never be renamed and B. hg-git only supports
hg bookmarks, not branches
2011-12-18 18:54:16 -05:00
Arne Babenhauserheide
cff1b0b0d8
removed outdated info that hg can’t transfer bookmarks.
2011-11-11 16:25:56 +01:00
Dan Villiom Podlaski Christiansen
78c2d2b9f4
add support for the HTTP smart protocol when using Dulwich tip
...
I have tested this with unauthenticated pulls from
Bitbucket. Authentication appears broken; I suspect this is a
limitation in Dulwich.
2011-10-05 22:44:29 +02:00
Tay Ray Chuan
29bac75cc1
tests: accomodate changes in git-merge output
...
Since git v1.7.7, merge outputs its status in the form
Merge made by the * strategy.
Use a regex substitution, so that older versions are handled
successfully as well.
Signed-off-by: Tay Ray Chuan <rctay89@gmail.com>
2011-10-09 13:39:37 -05:00
Augie Fackler
e249c92f76
setup.py: bump version to 0.3.1 for bugfix release
2011-09-13 18:16:00 -05:00
Augie Fackler
fd43cd5b7c
setup.py: correct dependency to 0.8.0
...
I incorrectly specified 0.8.1, which is the *next* release of dulwich,
not 0.8.0, which works just fine.
2011-09-13 18:15:03 -05:00
Augie Fackler
fb2d55d2a9
Bump version for release.
2011-09-09 16:17:28 -05:00
Ehsan Akhgari
d57f385799
Improve the parsing of author lines from Mercurial to generate committer and author lines that git can correctly understand
...
Signed-off-by: Ehsan Akhgari <ehsan.akhgari@gmail.com>
---
I found a number of bugs when I was trying to convert Mozila's hg repository
to git using hg-git. This patch fixes a number of bugs with irregular
author lines present in hg repositories. Git cannot correctly process a
commit object which has a committer or author line in a format that it does
not understand, which makes it not be able to handle the repositories
with have such commit objects.
The added test cases shows the irregular cases that this patch is able to
deal with.
2011-09-09 16:12:49 -05:00
Augie Fackler
c018b52ea8
Makefile: include 1.9.2 in all-version-tests
2011-09-09 16:08:58 -05:00
Augie Fackler
7659e2b8a6
outgoing: abort on broken hg versions rather than printing wrong results
2011-09-09 16:08:31 -05:00
Augie Fackler
2a4f0d3a5b
Adapt to atomictempfile API changes from Mercurial.
2011-09-09 16:00:52 -05:00
Augie Fackler
5286104b4d
test-incoming: test updates for progress capturing
2011-09-09 15:49:31 -05:00
Augie Fackler
396fa1faa9
setup: require dulwich 0.8.1
2011-09-09 13:34:40 -05:00
Augie Fackler
9b926199fe
Merge test fixes for dulwich changes and output changes.
2011-09-09 15:44:25 -05:00
Augie Fackler
b8794ce003
Merge incoming fix.
2011-09-09 15:43:35 -05:00
Augie Fackler
9e574c9364
getremotechanges: fix incoming support
...
'hg incoming' causes getremotechanges to be called with revs as a
positional argument, which we were not correctly catching here.
2011-09-09 15:42:24 -05:00
Augie Fackler
bad8d98927
overlay: stop using deprecated tree.entries() method
2011-09-09 13:44:58 -05:00
Augie Fackler
43c3024db6
Fix all-version-tests.
2011-07-19 08:11:02 -05:00
Augie Fackler
b54f430c7a
Merge fix for hg out
failing on empty repo.
2011-07-17 14:01:40 -05:00
Scott Chacon
83390977cd
only want heads and tags
2011-07-15 15:33:48 -07:00
mcc
fa9b6433a8
In some situations where a reference is being used but does not exist in _map_git or _map_hg, silently skip the reference rather than throwing an error. This allows hg outgoing to work on repositories which do not contain any revisions at all.
2011-07-13 22:15:04 -07:00
Augie Fackler
0e48fa29cb
test-url-parsing: update expecations missed by 70247167a4b5
2011-07-13 08:06:52 -05:00
Junichi OKADOME
41fa77794d
to be recognized port number in path to repository
2011-07-13 17:51:16 +09:00
Brendan Cully
d499a8fc67
Unbreak outgoing to non-git repos with hg pre-1.9
...
The wrapped version of findoutgoing unconditionally mangled the
keyword arguments, but doesn't do version fixups unless the
remote is a git repository. This change only mangles the argument
list when the remote is a git repository.
2011-06-23 11:29:30 -07:00