We have moved from SVN to Mercurial. We used ant scripts to checkout and build the code out of SVN earlier. Now the question is how and what changes would I need to use the same scripts for checkout and build the code from mercurial?
I came across ant4hg but the download page has .tar.gz file for download so i guess it's not for windows.
You don't need any scripts. Any command you can execute on the command line can be executed from Ant. Have you used Ant before?
Joined: Nov 20, 2013
Thanks for the reply Roger!
I got your point, I can use the <exec> tag to run any command I normally run on windows command line for hg. The other part of the problem is that I connect to a remote code repository, so I will have to authenticate first to run the hg commands; Below is an ant script for svn code, we have the dependency Jar entries and the classname - org.tmatesoft.svn.cli.SVN. What would be the corresponding Mercurial Jars and classname