https://www.mercurial-scm.org/guide請訪問此鏈接.....現在我成功地安裝善變的,但下一步不是我很清楚.....Mercurial使用率會導致錯誤。請告訴我什麼是錯的?
初始化項目
現在,添加一個新的文件夾,在其中不想工作:
$ hg init project
添加文件,並跟蹤他們
$ cd project
$ (add files)
$ hg add
$ hg commit
(enter the commit message)
添加文件意味着我不知道... u能恩普通請
現在我使用Ubuntu ....
善變的安裝步驟1:
[email protected]:~$ sudo apt-get install mercurial
[sudo] password for embdes:
Reading package lists... Done
Building dependency tree
Reading state information... Done
mercurial is already the newest version.
The following packages were automatically installed and are no longer required:
libopenal1 wavpack kdelibs4c2a libdc1394-22 mppenc vorbis-tools libxvidcore4
libldns1 libsvga1 kdelibs-data mplayer kdemultimedia-kio-plugins liblualib50
libkcddb4 mp3gain vorbisgain speex libmp3lame0 faad libavahi-qt3-1 icedax
freepats ffmpeg libao2 liblzo2-2 libavfilter0 flac libev3 timidity libqt3-mt
liblua50 timidity-daemon libunbound2 libavdevice52
Use 'apt-get autoremove' to remove them.
0 upgraded, 0 newly installed, 0 to remove and 261 not upgraded.
[email protected]:~$
步:2
[email protected]:~$ hg init project
abort: repository project already exists!
[email protected]:~$ cd project
[email protected]:~/project$ hg add
[email protected]:~/project$ hg commit
nothing changed
[email protected]:~/project$ hg init
abort: repository . already exists!
[email protected]:~/project$
這是從我的命令行輸出。如果我做錯了任何事,請糾正我。 的Android項目開發我將駐留在以下目錄,
/home/embdes/workspace
下面是Android SDK的目錄
/home/embdes/project/android/android-sdk/platform-tools/
如何安裝善變? 如何在我的eclipse中使用android引擎示例項目?
我是使用命令行的新手,所以請幫我解決以上兩個疑惑。
謝謝
確定如何創建文件請告訴我...我不熟悉命令行... – raja 2011-03-02 06:29:01
@raja,你不必在命令行上創建它們。使用你選擇的編輯器來做到這一點,並簡單地將文件保存到該文件夾。 – 2011-03-02 06:30:34