Siddharth Agarwal
1d58a0a197
revset_fromgit: use githandler from repo
2014-02-19 15:22:36 -08:00
Siddharth Agarwal
b1bbd30c48
getremotechanges: use githandler from repo
2014-02-19 15:15:01 -08:00
Siddharth Agarwal
886532ea23
findcommonoutgoing: use githandler from repo
2014-02-19 15:13:43 -08:00
Siddharth Agarwal
068acd034c
gclear: use githandler from repo
2014-02-19 15:12:59 -08:00
Siddharth Agarwal
fcd7e472fc
gexport: use githandler from repo
2014-02-19 15:12:42 -08:00
Siddharth Agarwal
298b98a518
gimport: use githandler from repo
2014-02-19 15:12:20 -08:00
Augie Fackler
1dfa836781
testedwith: drop 2.3.1, which has at least one test failure
2013-12-14 11:59:39 -05:00
Augie Fackler
e94e063d88
testedwith: add 2.8.1
2013-12-14 11:19:39 -05:00
Augie Fackler
7dc6835322
gitignore: gate feature on dirstate having rootcache and ignore having readpats
2013-12-14 11:19:25 -05:00
Ben Kehoe
6f094a5bfe
Fix for #68 | Use .gitignore files (with proper semantics)
2013-11-27 09:27:59 -05:00
David M. Carr
7cbc08a5a2
peer: pass localrepo to new gitrepo instances
...
This change wraps hg.peer to allow for capturing the repo object. It is then
passed in to new gitrepo instanceds. This will be needed to implement later
functionality, such as richer bookmark support using pushkeys.
2012-10-25 19:54:05 -04:00
David M. Carr
cf59f5739c
docs: include testedwith
...
Mercurial has support for including information about the tested versions of
Mercurial for an extension when it detects that an extension has broken. This
change includes the appropriate attribute in the extension.
2012-09-27 22:52:54 -04:00
David M. Carr
37995f7c6c
docs: include buglink
...
Mercurial has support for including a link to an issue tracker when it detects
that an extension has broken. This change includes the appropriate attribute
in the extension, pointing it at the issue tracker for the main BitBucket repo.
2012-09-27 22:42:41 -04:00
David M. Carr
523efe6ee9
outgoing: re-introduce support for outgoing
2012-09-13 18:47:11 -04:00
David M. Carr
20a3702adc
revsets: add fromgit and gitnode selectors
...
Support for Hg 1.5.4 was removed, as it doesn't support revsets and is older
than the earliest version we want to put special effort into supporting.
2012-08-22 23:39:45 -04:00
David M. Carr
11cde56154
templatekw: add support for gitnode template keyword
2012-08-22 23:39:45 -04:00
David M. Carr
9e4da6cfb3
help: add additional help topics
2012-08-22 23:39:45 -04:00
Augie Fackler
2d280d3dfb
Update for newer dulwich and hg versions.
2012-01-27 11:06:27 -06: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
Augie Fackler
7659e2b8a6
outgoing: abort on broken hg versions rather than printing wrong results
2011-09-09 16:08:31 -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
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
Brendan Cully
d387fe4170
Fix mercurial issue2855
...
I accidentally broke transplant by making revs a required argument.
2011-06-17 09:23:52 -07:00
Brendan Cully
95c74ae913
Support for hg incoming
2011-05-24 11:16:45 -07:00
Augie Fackler
74b9553cd5
Cope with new discovery code without crashing.
2011-05-15 12:26:24 -05:00
Augie Fackler
e7abdc3a9a
url wasn't ever published as url.url, and is now util.url
2011-05-15 12:26:03 -05:00
Mads Kiilerich
be6c59edbe
compatibility with new url handling in Mercurial 1.9
2011-04-05 13:31:28 +02:00
Alexey Sokolov
f07d1aba51
Fix "hg outgoing" for mercurial versions which look like 1.6.x
...
Previous commit (hg-c1876c8a2531) assumed that there's nothing between
1.6 and 1.7
But 1.6.3 is more than 1.6, while still less than 1.7
2011-02-15 13:35:03 +06:00
jsumners
162fcb35fb
I found that inspect.getargspec(discovery.findoutgoing)[0]
was returning []
instead of the expected function definition.
...
Since the change occurred between Mercurial 1.6 and 1.7, a simple version check works instead.
This fixes https://github.com/schacon/hg-git/issues/issue/168
2011-02-09 10:21:36 -05:00
Augie Fackler
006aedf259
demandimport: defend against collections breakage in new dulwich
2010-10-29 08:31:42 -05:00
Augie Fackler
c13e8ed89d
tests: import test-push-r (with slight changes) from Mercurial
...
This lets us detect defects in our wrappers which would break
Mercurial when working against normal hg repositories with hg-git
enabled.
2010-08-15 09:45:00 -05:00
Augie Fackler
fe874e7b7f
findoutgoing: update wrapper for hg change d844bc669660
2010-07-30 17:24:28 -05:00
Augie Fackler
bbfe593b68
Add just enough code to handle changes to cset discovery.
2010-06-12 21:49:14 -05:00
Augie Fackler
5518aa1a5a
Cope with tags being sorted (hg cset 0376c4f17df5) by backporting that behavior
2010-06-12 21:14:33 -05:00
Augie Fackler
c9fb39537b
Un-break hg 1.3 by adding a compat layer for progress.
2010-04-30 10:35:13 -05:00
Augie Fackler
d1961293e0
Various hg 1.4 compat fixes.
2010-03-27 21:37:58 -05:00
Augie Fackler
4e59f313a6
pull: make it possible to un-wedge the repo after stripping git revs
...
This adds a new command, which is inelegant, but it lets you safely
pick up pulling fairly quickly.
2010-03-25 20:24:00 -05:00
Augie Fackler
65560ee872
hggit: defend against exceptions when pulling with -r
2010-03-25 20:23:00 -05:00
Augie Fackler
c3fa923231
hggit: don't wrap gitrepo with hgrepo
2010-03-25 20:23:00 -05:00
Augie Fackler
ca2a34eaec
init: strip .git for default clone destination for git sources
2010-01-11 20:48:43 -06:00
Augie Fackler
b2653f208f
init: whitespace cleanup
2010-01-11 20:46:52 -06:00
Lincoln Stoll
86d0cc6948
Enable detection of bare repositories as a local git repo
2009-10-26 17:52:32 +01:00
Augie Fackler
fbdfb75d81
Merge with abderrahim.
2009-10-25 10:55:12 -05:00
Kevin Bullock
25a2b1d0a1
package with distutils
...
(patch tweaked slightly by Augie Fackler)
2009-09-30 14:39:49 -05:00