Hi guys, I still pushing Thg to its limits trying to interact with gitolite GIT repo. :) So far interacting with a git repo is working quite well for now. Last version 2.1.4 allowed me to use different port in git url.
Now I'm looking to interact with gitolite. https://github.com/sitaramc/gitolite Gitolite is a git hook allowing managing your repos via pushing text file to a manager git repo. So far this method is not working with thg. Here is the log I get with TortoiseGit: git.exe push --progress "origin" master:master Counting objects: 7, done. Compressing objects: 100% (3/3) Writing objects: 100% (4/4) Writing objects: 100% (4/4), 358 bytes, done. Total 4 (delta 1), reused 0 (delta 0) remote: eval: 1: parents:dddaec1: not found remote: remote: ***** WARNING ***** remote: the following users (pubkey files in parens) do not appear in the config file: remote: user1(user1.pub), user2(user2.pub) To ssh://[email protected]:2222/gitolite-admin.git dddaec1..c84d9f4 master -> master The potentially same log with TortoiseHg gives me: % hg --repository C:\gitolite-admin push git+ssh://[email protected]:2222/gitolite-admin.git pushing to git+ssh://[email protected]:2222/gitolite-admin.git exporting hg objects to git creating and sending data default::refs/heads/master => GIT:dddaec11 [command completed successfully Fri Oct 28 22:48:36 2011] gitolite-admin% As you can see I don't get the "remote:" in Thg console. Now let's try to create remotely a new repo project_test: To do this I modify the gitolite/gitolite.conf file % hg --repository C:\Users\Laurent\Desktop\gitolite-admin push git+ssh://[email protected]:2222/gitolite-admin.git pushing to git+ssh://[email protected]:2222/gitolite-admin.git exporting hg objects to git creating and sending data default::refs/heads/master => GIT:1574a410 [command completed successfully Fri Oct 28 23:05:54 2011] No repos created :/ Repushing with TortoiseGit (adding space in file) I get: git.exe push --progress "origin" master:master Counting objects: 7, done. Compressing objects: 100% (3/3) Writing objects: 100% (4/4) Writing objects: 100% (4/4), 392 bytes, done. Total 4 (delta 1), reused 0 (delta 0) remote: eval: 1: parents:1574a41: not found remote: creating project_test... <------ REMOTE repo created!!!!!!!!! remote: Initialized empty Git repository in /opt/repos/project_test.git/ remote: remote: ***** WARNING ***** remote: the following users (pubkey files in parens) do not appear in the config file: remote: user1(user1.pub), user2(user2.pub) To ssh://[email protected]:2222/gitolite-admin.git 1574a41..6e2e4e3 master -> master Success So it seems there is something else that pure Git client just does after pushing to repo that currently TortoiseHg is not doing. Any idea? Regards, Laurent ------------------------------------------------------------------------------ The demand for IT networking professionals continues to grow, and the demand for specialized networking skills is growing even more rapidly. Take a complimentary Learning@Cisco Self-Assessment and learn about Cisco certifications, training, and career opportunities. http://p.sf.net/sfu/cisco-dev2dev _______________________________________________ Tortoisehg-discuss mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/tortoisehg-discuss

