Ok Thx Peer,

 

I’ll check on IRC. I didn’t knew how to contact hg-git guys J

 

Regards,

Laurent

 

De : Peer Sommerlund [mailto:[email protected]] 
Envoyé : samedi 29 octobre 2011 14:22
À : Laurent Dufrechou
Cc : [email protected]
Objet : Re: [thg] Interfacing with GIT/gitolite

 

 

On 28 October 2011 23:15, Laurent Dufrechou <[email protected]>
wrote:

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

 

Hi Laurent.

 

While I don't know git, I'm fairly certain that you should start
troubleshooting the hg-git extension from the command line. TortoiseHg is
mainly providing you with a nice installer and a GUI wrapper in this case.
If you want to get inspiration to what may be wrong, start at the Mercurial
IRC or perhaps the Mercurial mail list.

 

http://mercurial.selenic.com/wiki/IRC

 

Regards,

Peer

------------------------------------------------------------------------------
Get your Android app more play: Bring it to the BlackBerry PlayBook 
in minutes. BlackBerry App World&#153; now supports Android&#153; Apps 
for the BlackBerry&reg; PlayBook&#153;. Discover just how easy and simple 
it is! http://p.sf.net/sfu/android-dev2dev
_______________________________________________
Tortoisehg-discuss mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/tortoisehg-discuss

Reply via email to