Write by nine days Yan Ling (jtianling) -- blog.csdn.net/vagrxie
Discuss newsgroups and documents
Haha, just like summary of the work of a small game programmer after one year and nine months
"Said, in order to better learn iPhone development, I bought a new Mac Book. In this case, for a programmer, what else do I have in addition to ide for the software on a platform? I am not clear about this. xcode is indeed quite good. I also care about vim-macvim in Mac. Then, I also have source code control software, because I am used to mercurial, I am not interested in building another SVN server. Therefore, mercurial should first know that the command line of mercurial is available on the entire platform (Windows, Linux, Mac ), I can't use it, but I found macmercurial and murky, which are available in MACOs. I should try it first. Even if tortoisehg is not easy to use, it will never be worse than the command line ..... (Although I haven't written a blog for a long time, (because csdn has disabled metaapi (I am a third-layer nested bracket). It's still as usual, and there is even a trend beyond)
For more information about mercurial, see the previous introductory article distributed, next-generation version control system mercurial.
Introduction and brief introduction...
, This article is not a tutorial, as the title says, just a lot of quick browsing
Http://mercurial.selenic.com/downloads/
Download mercurial with the MACOs command line.
Http://www.jwwalker.com/pages/macmerc.html
You can download macmercurial, Free Software :)
Http://bitbucket.org/snej/murky/wiki/Home
Downloading to murky and open-source software ^
After preliminary comparison, macmercurial has no significant advantage over murky. In this case, I chose to learn about murky.
The latest version of murky is 0.7.1.
.
Installation:
After the murky file is decompressed, it is an application. Without the application link like a general program, we can drag the application directly into the application directory.
Preliminary
First, let's get my own source code. One key highlighter
. Because the software utilizes some special Win32 features (Global shortcuts and process creation), it is impossible to run in MACOs. Here we only use this code for experiments.
Hg checkout address: https://onekeycodehighlighter.googlecode.com/hg/
Select the File menu of murky> repository> new cloned. Or use the command + u shortcut key. Open dialog box:
After source and destination are set, click Clone. The following window is displayed:
A familiar image, like tortoisehg. The push and pull buttons are all on the GUI and cannot be used yet. Try the Compare function first. Select the following file and select compare with base.
This interface seems to be worse than windiff and beyond compare, that is, there is no operation, and it cannot be more operational.
You can directly change the content of readme.txt by double-clicking it to see the icon changes in the file list:
Right-click readme.txt and the following menu appears:
In this case, you can compare and select common file merge operations in the action in the lower right corner.
Z
It is still quite easy to use. It used to borrow the filemerge tool of MACOs itself. After the comparison, I found that there was no question. After that, I wrote it. (right-click the figure on readme.txt)
Start the commit window:
Enter the commit message. Since then, the commit process has been completed. Although mercurial does not support xcode embedded in MacOS, at least tortoisehg is not supported for ease of use :)
The following figure shows the changes after commit. You can see that a new log is added and the changed icon is deleted.
In addition, murky has some particularly useful functions, such as the custom toolbar:
Murky also has some disadvantages. For example, it is not as convenient to tag as macmercurial (although it can be easily split through clone ). For example, the config settings are not graphical.
Basically confirmed, murky is fully qualified for daily operations :) yeah! No matter what platform you switch to, you can use software you are familiar with. This is a kind of happiness.) Many people say that portability is nothing more than just something to show off, that's because they only stick to the Win32 platform. Users who need to use Linux as a server and want to develop something in Linux will feel the importance of portability only when they are engaged in MACOs development and iPhone development, it's not mercurial's portability. How can I use it in windows, Linux, and MACOs? Haha, in fact, because too many software in China did not take into account portability, you will find that QQ Software is also a good use in windows, Linux, MacOS under not only for a long time to have an official version, in addition, the ease of use is terrible. The current version of Linux and MACOs is just something that can send messages.
The author of the original article retains the copyright reprinted. Please indicate the original author and give a link
Write by nine days Yan Ling (jtianling) -- blog.csdn.net/vagrxie