Commit Graph

113 Commits

Author SHA1 Message Date
Abderrahim Kitouni
da195f1c47 Various cleanups (mostly whitespace and imports) 2009-06-05 11:56:22 +01:00
Abderrahim Kitouni
c79771a1f7 Initial clone/pull/push support for git repositories 2009-06-03 21:15:43 +01:00
Scott Chacon
2a605eba4a only look for renames if the file has changed 2009-06-03 16:32:03 -07:00
Scott Chacon
38acb03ef6 fix to previously written tree hash calculation 2009-06-03 13:45:32 -07:00
Scott Chacon
b797c4f3e8 profiling push - fixed tree caching issue, 15% impr 2009-06-03 11:45:17 -07:00
Scott Chacon
5a97599d3e not trying to write the same tree twice 2009-06-03 09:55:45 -07:00
Scott Chacon
5c914f6dfa fixed serious speed issue with rename detection 2009-06-03 09:22:27 -07:00
Scott Chacon
d92e94dad8 fix message stripping and malformed user info 2009-06-02 19:33:48 -07:00
Scott Chacon
3a40638749 added empty changelog handling 2009-06-01 20:17:11 -07:00
Scott Chacon
89fbc37467 remove rename detection, add explicit changelog recording on merges 2009-06-01 15:10:01 -07:00
Scott Chacon
feffe70422 almost got everything working 2009-06-01 14:57:19 -07:00
Scott Chacon
f254446497 author and extra data fixes 2009-05-29 13:13:04 -07:00
Scott Chacon
4a831bd653 moved file rename code back to proper indent 2009-05-27 17:27:23 -07:00
Scott Chacon
4ec3f5c66b Merge branch 'octo' with octo merge code
Conflicts:
	git_handler.py
2009-05-27 17:19:11 -07:00
Scott Chacon
107a30708a applied patch removing unused methods from dimichxp 2009-05-27 17:15:08 -07:00
Scott Chacon
be2171ab72 applied octopatch from dimichxp 2009-05-27 17:14:41 -07:00
Scott Chacon
f85f597d17 Merge commit 'sr/master' 2009-05-27 16:33:05 -07:00
Scott Chacon
940bc65ee2 dont export funky tags we import for convenience, dont push tags already on the server 2009-05-27 16:28:53 -07:00
Scott Chacon
2ae504491b merged in tag support branch 2009-05-27 16:05:22 -07:00
Scott Chacon
3f84667238 added basic tag support 2009-05-27 15:58:07 -07:00
Sverre Rabbelier
da8585ca04 Allow bookmarking a specific branch
This way 'hg gimport' can be used to import a git head as bookmark
into hg without having to push that head to a git remote first.
2009-05-26 20:57:52 +02:00
Sverre Rabbelier
03bd087ab8 make the export branch customizable 2009-05-26 20:57:52 +02:00
Sverre Rabbelier
f046c4d85b only update bookmarks if importing from a remote 2009-05-26 01:43:55 +02:00
Sverre Rabbelier
52121ac4b3 export: be more clean in what we're doing 2009-05-26 01:16:28 +02:00
Sverre Rabbelier
806623364a Make it possible to limit what branches are imported 2009-05-25 04:21:18 +02:00
Sverre Rabbelier
dbeba8a0f0 Deal with invalid timezones in extra commiter 2009-05-25 01:44:38 +02:00
Scott Chacon
c1204ecfdb merged in srabbeliers stuff 2009-05-19 10:00:56 -07:00
Scott Chacon
1ea6ebd835 merge from beejahth 2009-05-19 09:40:54 -07:00
Scott Chacon
cb643301ac merge from ian dees 2009-05-19 09:33:46 -07:00
Dmitriy Taychenachev
f4c0b0543f don't fail while exporting commit with empty working tree. +test. 2009-05-19 22:21:31 +09:00
Dmitriy Taychenachev
37dea2deda use octal numbers for modes. 2009-05-19 21:58:06 +09:00
Dmitriy Taychenachev
4cfbc45f0f use explicit nullid. 2009-05-19 21:51:14 +09:00
Ian Dees
67c84f63c7 remote branches to server 2009-05-17 16:42:34 -07:00
Ian Dees
7677d7f9ef local git branches to remotes 2009-05-17 15:29:18 -07:00
Ian Dees
35262f6796 hg bookmarks to local git branches 2009-05-17 14:50:50 -07:00
Dmitriy Taychenachev
e0c29b6bc8 store commitdate in mercurial's internal format. 2009-05-14 20:25:48 -07:00
Dmitriy Taychenachev
3a1377f887 cleanup dates handling. 2009-05-14 20:20:48 -07:00
Sverre Rabbelier
bcadee108e add a gimport command
This allows for exporting git commits to hg commits without doing an
explicit fetch, which is useful when directly manipulating the git
repository
2009-05-15 00:48:26 +02:00
Sverre Rabbelier
4a209cfce1 rename export to export_commits for future consitency
We cannot name the reverse 'import' since that is a reserved
keyword in python, so add the '_commits' suffix.
2009-05-15 00:43:40 +02:00
Sverre Rabbelier
5e262c9ff6 import_git_objects: add progress indicator 2009-05-15 00:27:38 +02:00
Sverre Rabbelier
8c46478c3c Allow storing the git directory intree 2009-05-14 20:33:11 +02:00
Nick Quaranto
a47fd13ae3 Splitting the if statement up since python didn't like that. 2009-05-13 13:55:19 -07:00
Scott Chacon
dd8016ed49 started tag support 2009-05-13 13:54:54 -07:00
Scott Chacon
d2782e7a41 handles git commit encoding fields now 2009-05-11 16:03:57 -07:00
Scott Chacon
122f5071a2 adding rename detection to already imported objects 2009-05-11 10:18:05 -07:00
Scott Chacon
667830685d i cannot for the heck of me figure out why renames are handled this way, but so be it, it works 2009-05-11 09:55:44 -07:00
Scott Chacon
debaf6da75 quick fix for executable bit settings 2009-05-10 21:20:51 -07:00
Sverre Rabbelier
561dbf3174 more pythonic way to calculate the magnitude 2009-05-10 11:04:12 -07:00
Sverre Rabbelier
d4cb904883 make the gitdir a constant 2009-05-10 20:01:01 +02:00
Sverre Rabbelier
e1efaf27a3 make git-mapfile and git-configfile constants 2009-05-10 20:01:01 +02:00