Commit Graph

94 Commits

Author SHA1 Message Date
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
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
Sverre Rabbelier
a0bb9e2a4d use atomictemp to prevent corruption on ctrl-c 2009-05-10 20:01:01 +02:00
Scott Chacon
bce4331fcc total is not always > 1 2009-05-10 10:52:06 -07:00
Sverre Rabbelier
808661177f major speedup in the already-converted case 2009-05-10 19:32:35 +02:00
Sverre Rabbelier
c24770b355 use atomictemp to prevent corruption on ctrl-c 2009-05-10 19:32:32 +02:00
Sverre Rabbelier
dd282430a0 sort the mapfile before writing 2009-05-10 19:31:55 +02:00
Sverre Rabbelier
a2ec04b847 add progress indication during export 2009-05-10 19:31:55 +02:00
Sverre Rabbelier
3c3191e7f2 add gexport command 2009-05-10 19:31:55 +02:00
Sverre Rabbelier
77eb495d2d add a few more TODO's 2009-05-10 19:31:45 +02:00
Sverre Rabbelier
10183e2f26 be better about internationalizing strings 2009-05-10 13:17:57 +02:00
Sverre Rabbelier
470fa741e2 strip redundant module path and dict accessing 2009-05-10 13:17:57 +02:00
Scott Chacon
3520343325 fixed subtree issue and zero padding issue 2009-05-09 16:52:37 -07:00
Scott Chacon
c1e74ea77d added map saving after each object exported 2009-05-09 15:06:33 -07:00
Scott Chacon
d59f3cf90d committer info now being kept properly 2009-05-08 20:57:02 -07:00
Scott Chacon
97655b5209 fixed some small compatability issues with the dulwich update 2009-05-08 20:54:33 -07:00
Scott Chacon
12c03078a4 added a missing newline back to git conversion 2009-05-08 11:35:14 -07:00
Scott Chacon
9a8f54a900 readded yet another piece of code that disappeared at some point, recovering branches properly 2009-05-07 15:07:18 -07:00
Scott Chacon
2b8fb39b97 fix, but im not sure its fixed yet 2009-05-05 09:43:24 -07:00
Scott Chacon
1afd2ff363 reapplying defunkts changes 2009-05-01 20:16:07 -07:00
Scott Chacon
5679e51481 fixed the topo sorting and added a unit test 2009-05-01 20:05:30 -07:00