On Fri, Apr 5, 2013 at 8:25 PM, Ross Boylan <[email protected]> wrote:

>  On 4/5/2013 5:40 PM, Steve Borho wrote:
>
>
>
>
> On Fri, Apr 5, 2013 at 6:46 PM, Ross Boylan <[email protected]> wrote:
>
>> On 4/5/2013 1:02 PM, André Sintzoff wrote:
>> > 2013/4/5 Ross Boylan <[email protected]>:
>> >> On 4/5/2013 12:30 PM, André Sintzoff wrote:
>> >>>
>>  >>> Do you have a recent version of hg-git?
>> >>>
>> >>>
>> >>> André
>> >> Well, there's my problem!  I'm trying to use Hg on a git repository!
>> >> Amazing what I can overlook.
>> >>
>> >>   Are you referring to http://hg-git.github.io?
>>  > Yes
>> >
>> >>    Is there any integration
>> >> with tortoisehg?
>>  > http://tortoisehg.bitbucket.org/manual/2.7/nonhg.html#hg-git-git
>> >
>> I think I have it all set up.*  However, I don't see any new options in
>> TortoiseHG, and my attempts to pull fail (unsurprisingly, given that the
>> actual command executed is unchanged).  I did restart the workbench
>> after the setup, and I've upgraded to tortoisehg  2.7.1.
>>
>> Do I need to go to the command line to use hg-git?
>>
>> Ross
>>
>> (*) I spent a lot of time trying to understand and follow the
>> instructions form hg-git and dulwich.  Then I read the 2nd,
>> tortoisehg-specific link and noticed it said dulwich was already
>> installed.  So I cloned the hg-git repo and pointed mercurial.ini at the
>> clone.
>
>
>  To be somewhat pedantic, you have to point Mercurial at the hggit folder
> within the hg-git repository.
>
>  [extensions]
> hggit = C:\repos\hg-git\hggit
>
> I thought I did that, but
>
>
>  If it's installed properly, 'hg help git' will give you more info
>
> Interesting:
> C:\Users\rdboylan\Documents\GitHub\dulwich>hg git help
> *** failed to import extension hggit from
> C:\Users\rdboylan\Documents\hg-git: No module named hg-git
> hg: unknown command 'git'
>
> Then I realized my path was too short.  After modifying mercurial.ini by
> adding \hggit things seemed to work (I also realized it should be hg git
> help!).
>

this command will show you what extensions hg knows are loaded: hg help
extensions


> Now the sync window has a new option, git, and when I use that I am able
> to pull the revisions.  Yay!
>
> BTW, it might be nice if there was a more convenient way to use a complete
> repository specification.  Eg. I can copy git://
> github.com/stefvanbuuren/mice.git from github (that is, copy the URL),
> but I had to break it into parts to use the interface.
>

this will be resolved in next month's release

-- 
Steve Borho
------------------------------------------------------------------------------
Minimize network downtime and maximize team effectiveness.
Reduce network management and security costs.Learn how to hire 
the most talented Cisco Certified professionals. Visit the 
Employer Resources Portal
http://www.cisco.com/web/learning/employer_resources/index.html
_______________________________________________
Tortoisehg-discuss mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/tortoisehg-discuss

Reply via email to