Hello I like to use Mercurial in Aptana.
How easy is it to run Mercurial or DOS in the terminal of Aptana?
Do I only need to edit a configure file that contact the path of Tortoisehg Mercurial or are there more steps to take?
I know the basics for Mercurial to create, clone push and named branche.
Because I am just starting to use version control I like to make a decide to use Mercurial or
Git.
If the configuration is easy to do I like to use Mercurial but if there are more steps to it maybe it is easier to learn Git.
Since Aptana is based on Eclipse, you can probably install the HGEclipse plugin and use Mercurial directly in the IDE instead of using the terminal.
Concerning the Terminal, I never used Aptana and it's been a long time since I used Eclipse, but I think the only requirement is that Mercurial (the hg binary) is in your path. You can probably do that in the Aptana configuration or your operating system global path variable.
If you still must decide between using Git or Mercurial, I won't use the ease of configuration in Aptana to do my choice. There's many more to a VCS than the fact you're able to set up it's use easily for the Aptana terminal.
You should really choose based on the feature, learning curve and your needs :) A good start is maybe this SO question : What is the Difference Between Mercurial and Git?
In short : Git is more powerful but Mercurial is easier to use.
Related
Background:
I want to check-out the source code from Cliche, which is stored in a Mercurial repository. I use NetBeans 7 with JDK 1.7 on Windows, but have no experience with Mercurial. I only want to get the source code, further usage of Mercurial is not required.
Question: What software / plug-in, etc. do I need to install, if any, to perform the above task?
You will find the installation process and first checkout in: "Mercurial User Guide".
(You need to install Mercurial itself first)
And more on Mercurial used from Netbeans on "NetBeans + Mercurial Training".
I am a bit new to hg and while I am familiar with the python-based repo tool (used in project like the Android Open Source Project) I am not aware of one for Mercurial. Is there such a tool for hg?
I'm not very familiar with repo, but my understanding was that it allowed them to construct a project out of lots of smaller repositories.
If that's the case then it's just built in. Subrepositories.
Edlund was kind enough to open-source their repoman tool, which was directly inspired by the Android project's repo tool as I understand the history.
I followed the answer from this posting:
How to use Mercurial, Maven and Eclipse together?
But the "Check out Maven Projects from SCM" still does not allow me to use Mercurial SCM.
The only option I get is "svn" in the dropdown, and even if I ignore the drop down and enter in "scm:hg:http://myMercurialRepoURL"
I'm using:
Eclipse 3.6.1
m2eclipse 0.12 from http://m2eclipse.sonatype.org/sites/m2e
"Maven SCM handler for Subclipse" 0.12.0 from m2eclipse extra's site (sorry, I would give the URL, but my new account doesn't have enough rep)
MercurialEclipse 1.8.1 from http://cbes.javaforge.com/update
And I've uninstalled, and reinstall those plugins in that order.
I'm able to use Maven in projects, and use Mercurial separately in Eclipse - it's just this one Wizard that seems to be broken, which leads me to believe that if I try to Materialize an Artifact from a Mercurial repo that it will also fail.
Has anyone had any luck with this Wizard? Perhaps on earlier versions? Is this a new bug?
Thanks
As far my search went, I didn't get to find a suitable connector for mercurial and m2eclipse (in terms of only using IDE). However, I did an experiment wherein I cloned a copy of the source from outside the IDE. (via TortoiseHg specifically)
Afterwards, assuming you have already m2e installed in Eclipse:
Go to File > import > maven > existing maven projects, then select the folder where you've originally pulled/cloned your source code.
I believe by doing so, you'll see the m2e commands in the project's context menu (via run as), and effective use mercurial commands. (via team context menu)
At least for now, this is better not using m2e and mercurial at the same time.
If anyone has a more streamlined approach, I'm also curious. :D
I have an existing Mercurial repository for a C++ application in a small corporate environment. I asked a co-worker to add the setup script to the repository and he added all of the dependency binaries, PDFs, and executable to the repository under an Install directory. I dislike having the binaries and dependencies in the same repository, but I'd like recommendations on best practices. Here are the options I am considering:
Create a separate repository for the
Installer and related files
Create a subrepository for the
Installer and related files
Use a (yet to be identified) build
dependency manager
I am concerned with using a subrepository with Mercurial based on what I've read so far and the (apparently) incomplete implementation. I would like to get a project dependency system, e.g. Ivy, but I don't know all of the options and haven't had time yet to try out any options.
I thought I'd use TortoiseHg as a basis, and it does not have the TortoiseHg binaries in the repository although it does have some binaries such as kdiff3.exe. Instead it uses setup.py to clone multiple repositories and build the apps. This seems reasonable for OSS, but not so much for corporate environments.
Recommendations?
I've had great luck using a good dependency manager, but it's more useful for code modules than artifacts. A sub-repo certainly works, but you'll not be cutting the clone time of people pulling the top tree since it will cascade into the subrepo too.
Someone will probably suggest using bfiles or big files, but I'd avoid it. They work well enough, but that functionality looks like it's going into mercurial this summer natively at which time those will languish.
Were I you I'd (a) hit the co-worker (b) try to strip those added files (using strip or convert), (c) re-do it will the installers being built not stored.
The PDFs I'd probably store, but there are some neat tricks for generating docs if you're interested.
Recently my IT guy decided to move over from SVN to mercurial, now I need a good GUI tool that will do the remote clone and so on. I tried murky and macMerial, I can't figure out how to get them either to work. I've been using "versions" for svn.
Thanks
And so, what's wrong with Murky? You just have to download the latest zip, launch the application and either clone the repository (if you didn't do it already) or drag it into Murky's window. After that, just double click on the projet and voila!
I found the Sourcetree app quite nice, which became available for free recently.
TortoiseHg seems to have some MacOS support.
I'll bet the issue here is not that the GUI isn't good. It's that the underlying concepts of how SVN and Mercurial work are too different for things to translate well.
Learn Mercurial, and then use a GUI for convenience (although personally I don't bother using a GUI in anything except Perforce, and I'm not saying that because I think the perforce GUI is good)
Start here