Changes To Cookbook
Not logged in

Changes to "Cookbook" between 2011-06-08 00:32:21 and 2011-06-09 00:33:45

1216
1217
1218
1219
1220
1221
1222
1223
1224


1225
1226
1227
1228
1229
1230
1231
1232
1233

1234
1235
1236
1237
1238
1239



1240
1241
1216
1217
1218
1219
1220
1221
1222


1223
1224
1225
1226
1227
1228
1229
1230
1231
1232

1233
1234
1235
1236
1237


1238
1239
1240
1241
1242







-
-
+
+








-
+




-
-
+
+
+


  3.  Initialize a new git repository.
  4.  Modify the .hg/hgrc file.
  5.  Push the Mercurial repository into the new git repository.
  6.  Export git to fossil.
  7.  Take a look at your new fossil repository.

<verbatim>
mkdir /tmp/crap
cd /tmp/crap
mkdir /tmp/moretmp
cd /tmp/moretmp
hg clone ssh://hg@hg/repos/wpkg
git clone git://github.com/schacon/hg-git.git
git init --bare git-wpkg
cd wpkg
cat >> .hg/hgrc << EOF

[extensions]
hgext.bookmarks =
hggit = /tmp/crap/hg-git/hggit
hggit = /tmp/moretmp/hg-git/hggit
EOF

hg push ../git-wpkg
cd ../git-wpkg
git fast-export --all | fossil import --git ../wpkg.fossil
cd ..
git fast-export --all | fossil import --git ~/wpkg.fossil
cd ~
rm -rf /tmp/moretmp
fossil ui wpkg.fossil
</verbatim>