how to checkout source code using TortoiseHg?

  8 posts   Feedicon  
Replies: 7 - Last Post: March 07, 2012 08:23
by: dragonaRMT
« Older Topic » Newer Topic
showing 1 - 8 of 8
 
Posted: October 07, 2010 14:10 by Digambar Daund
how to checkout source code using TortoiseHg?
 
Posted: October 11, 2010 13:12 by abien
No idea about TortoiseHG, but from command line is just: hg clone https://hg.kenai.com/hg/javaee-patterns~hg With NetBeans it is even easier: Go to Team View (ctrl + 8), search for Java EE patterns and just open it.
 
Posted: January 28, 2011 19:40 by shavo26
I have just found an issue with newer versions of Mercurial, from version 1.7.x. When i downloaded the windows client and ran hg clone https://hg.kenai.com/hg/javaee-patterns~hg i received an error.

"abort: hg.kenai.com certificate error: certificate is for kenai.com"

Follow the details here to rectify the problem:
http://mercurial.selenic.com/wiki/CACertificates#Changes_in_Mercurial_1.7.x

What i did was:
Browse to https://hg.kenai.com/hg/javaee-patterns~hg on Firefox and verify that this is the repository you trust, click the lock symbol in the lower right corner, View Certificate, Details, select the certificate at the top of the Certificate Hierarchy, Export, "X.509 Certificate (PEM)" and save somewhere for example as kenai.pem.

Then override entry in file Paths to:
cacerts=C:\Program Files\Mercurial\hgrc.d\kenai.pem

Once you execute command again it downloads all projects in repository with just a warning. Hope this helps anyone that was confused as i was when i first tried!!

Regards,
Shane.
 
Posted: July 07, 2011 21:11 by tomkuehn
Hi Shane,

I've configured my netbeans as described in your last post. But 'I can't checkout the sources. Here is what I get in the output window.


Mercurial Clone
---------------
ERROR Command failed:
Command: [hg, clone, -v, https://hg.kenai.com/hg/javaee-patterns~hg, C:\Users\Tommi\Documents\workspace_netbeans\javaee-patterns]
Output: [abort: hg.kenai.com certificate error: certificate is for kenai.com (use --insecure to connect insecurely)]
INFO: End of Clone


Do you have any idea to solve my problem.

Regards
Thomas
 
Posted: July 29, 2011 22:29 by Justin Botelle
I got the same error so just dropped the hg: https://kenai.com/hg/javaee-patterns~hg
 
Posted: January 19, 2012 18:24 by lzgrillo
Solve:

http://netbeans.org/bugzilla/show_bug.cgi?id=202577
 
Posted: March 06, 2012 19:02 by JoshCaba
"I got the same error so just dropped the hg: https://kenai.com/hg/javaee-patterns~hg "

This worked for me thanks a ton.
 
Posted: March 07, 2012 08:23 by dragonaRMT
It's really a really good read in my view, Have to admit that you actually are one of the top bloggers I ever saw.Appreciate your posting this informative article.






showing 1 - 8 of 8
Replies: 7 - Last Post: March 07, 2012 08:23
by: dragonaRMT
« Older Topic » Newer Topic
  • Mysql
  • Glassfish
  • Jruby
  • Rails
  • Nblogo
Terms of Use; Privacy Policy;
© 2010, Oracle Corporation and/or its affiliates
(revision 20120518.3c65429)
 
 
Close
loading
Please Confirm
Close