version 1.2, 2014/12/14 02:56:04
|
version 1.5, 2014/12/14 02:59:39
|
Line 26 somewhere that constitutes the master co
|
Line 26 somewhere that constitutes the master co
|
|
|
Therefore, the basic usage is almost entirely unchanged: |
Therefore, the basic usage is almost entirely unchanged: |
|
|
CVS | Mercurial |
CVS Mercurial |
|
|
cvs checkout | hg clone |
cvs checkout hg clone |
cvs update -dP | hg pull && hg update |
cvs update -dP hg pull && hg update |
cvs -n update | hg status |
cvs -n update hg status |
cvs log file | hg log file [or just hg log] |
cvs log file hg log file [or just hg log] |
cvs update -p file hg cat file |
|
cvs annotate hg annotate |
cvs update -p file hg cat file |
cvs diff -u hg diff |
cvs annotate hg annotate |
cvs add hg add |
cvs diff -u hg diff |
cvs rm hg rm |
cvs add hg add |
[no can do] hg cp |
cvs rm hg rm |
[no can do] hg mv |
[no can do] hg cp |
cvs commit hg commit && hg push |
[no can do] hg mv |
cvs tag hg tag |
cvs commit hg commit && hg push |
|
cvs tag hg tag |
|
|
You will notice that CVS's update and commit have been divided into |
You will notice that CVS's update and commit have been divided into |
two now-separable actions: in Mercurial, pull fetches changes from a |
two now-separable actions: in Mercurial, pull fetches changes from a |