How do I update my Mercurial installation from within Mercurial?
Or, if that's not possible, can I just download the newest installation package and overwrite the existing older version?
I don't think it's possible to update Mercurial from within itself.
To update Mercurial I just download newest installation package and reinstall from it. Make sure you download one for your version of OS X (due to different python versions in different Mac OS X versions).
Related
Fedora 23 provides the odb-2.4.0 package.
This git repo
git://pkgs.fedoraproject.org/odb.git
is probably where a fedora-modified copy of the sources exist.
The upstream git repo exists here
git://scm.codesynthesis.com/odb/odb.git
I need the newer upstream version which doesn't crash for some code i have, while odb 2.4 does.
How can I go about building and installing the newer version, and potentially, after more commits in upstream, rebuild and reinstall the newer version?
Do I make a source rpm and install on my machine, and another with an identical fedora?
I am reading
https://fedoraproject.org/wiki/How_to_create_an_RPM_package
but I do not need to deploy this package to fedora, i just would use the RPM mechanism to facilitate installing unreleased versions?
Can I use COPR for that, add my own repo, and install from it instead?
In COPR, can I reuse the SPEC file from the odb2.4.0 rpm and update it to the newer odb?
When I installed TortoiseHg thro synaptic in my Ubuntu system, the HG Workbench was spontaneously installed into my main menu.
However, when I installed TortoiseHg thro synaptic in my debian 6.0 system, HG Workbench was not found in the main menu and neither was the thg comannd found anywhere.
The TortoiseHG version is 1.1.1-1.
How can I get to invoke the thg or workbench command in debian?
Are there additional modules I had installed in ubuntu which I did not in debian (which I might have forgotten)?
Thank you.
In Debian you may have TortoiseHG 2, where command is just hg
To my dismay, Debian is not as up-to-date as Ubuntu. And support is not as comfortable a level I have been having with Ubuntu. However, Ubuntu has become rather slow to boot up and is eating too much resources (might as well go back to Win 7). Also, Ubuntu obsessively+compulsively insists on providing horrendous desktop/colour schemes.
Answering my own question ...
The latest stable Debian is Squeeze which allows only Mercurial 1.6.4, TortoiseHg 1.1.1. Whereas, in Ubuntu 12.04 LTS I am having 2.0.2, TortoiseHg 2.2.
Attempting to install Debian Squeeze backport for Mercurial 2.2/TortoiseHg 2.4 resulted in unresolved dependencies. Need to investigate if that is due to dependency on Qt4.8.
TortoiseHg 1.1.1 does not have thg workbench. It has hgtk and hgview. I prefer thg over hgtk. To mitigate the circumstances, I installed TortoiseHg 2.6 in my Win7 Virtualbox in my Debian machine, where I would use my Win7 TortoiseHg to operate on a shared folder. Using 2 cpu threads out of 16 for Win7 should not hurt my Debian machine very much.
I am thinking about installing Mercurial and TortoiseHG for our redhat linux server. I found out there are many package versions. I searched online and found out some people encounter incompatible problems when they install Mercurial and TortoiseHG. If anyone has successfully install TortoiseHG and Mercurial, may I know what versions you used for TortoiseHG and Mercurial ?
I used command "cat /etc/redhat-release" to find the version of my linux is"
Red Hat ENterprise Linux CLient release 5.3 (Tikarga) and the bits number is "x86_64". Python is version 2.4.3. I do not need to use the latest version as long as they are stable and compatible.
Thank you very much,
TortoiseHG is mainly known for being a Windows shell extention, but there also seems to be a Linux version.
Take a look at the description on the web site (I made the important parts bold):
TortoiseHg is a Windows shell extension and a series of applications for the Mercurial distributed revision control system. It also includes a Gnome/Nautilus extension and a CLI wrapper application so the TortoiseHg tools can be used on non-Windows platforms.
and:
Supported Platforms
Microsoft Windows XP, Vista, Windows 7
Command line support via thg
Mac OS X port via source install
Gnome/Nautilus integration
Note the link in the second part.
Plus, there are non-Windows versions on the download page.
There is also this section in the release notes which describes which TortoiseHG version should be used with which Mercurial version if you have to install from source (which seems to be the case whan you're using Linux, as I understood it).
EDIT:
Sorry, but I have absolutely no clue about Linux, so I can't help you about the installation. What I can tell you is that msi files are usually Windows installer files.
As I said, I have no clue about Linux, but I can hardly imagine that you can get a Windows installer to work on Linux.
Where exactly did you see the TortoiseHG packages? The Nautilus link I posted above doesn't have any msi downloads (or I don't see them). The only msi downloads that I can find are the Windows-only downloads on the download page.
I have Mercurial 1.4 in my CentOS6, but I need to use the Eclipse Plug-in that uses at least Mercurial 1.5. How can I update my Mercurial version in CentOS6?
Setting up Install Process
Package mercurial-1.4-3.el6.x86_64 already installed and latest version
Nothing to do
When I try do download a new RPM(mercurial-1.9-1.el6.rfx.x86_64.rpm) and install it, I got this error:
emacs-mercurial-1.4-3.el6.x86_64 requires hg = 1.4-3.el6
What should I do?
Any clues?
Best Regards,
For the same purpose I successfully upgraded my hg in CentOS to 2.1.2 by downloading the correct rpm from here:
http://pkgs.repoforge.org/mercurial/
and installing it with yum...
regards
You can install from source, just follow the instructions here.
Just run into this while trying to get hg-git working on my CentOS 6 environment.
In 2015 there are RPMs and/or yum repos from the official download page.
FWIW - for hg-git I had to pip-install still (package in epel is pretty old and didn't work).
I am trying to use Octave as an external solver in my C/C++ code.
I read here that one needs to include the octave/oct.h header file. However I am not able to find it on my computer. I have searched everywhere including the octave root directory version 3.0.5.
What should I do?
I found it in my Octave 3.2.2 installation in Windows: C:\Octave\3.2.2_gcc-4.3.0\include\octave-3.2.2\octave.
Are you using another operating system? If so, you may need to install the headers separately. For example, Ubuntu 10.10 has a separate octave3.2-headers package.
If you are using Windows and your Octave installation does not have the headers, you could try upgrading to 3.2.2 or greater. I got the Windows installer from Octave-Forge.
For newer versions on Ubuntu, e.g., Octave 3.8.1, the package you must install to get the headers is now called liboctave-dev
The include folder of the Octave 4.0.0 installed on Ubuntu can be found at /usr/include/octave-4.0.0/octave.