Differences between revisions 21 and 22
Revision 21 as of 2007-10-16 19:31:09
Size: 2491
Editor: abzx193
Comment:
Revision 22 as of 2009-05-19 19:31:00
Size: 2498
Editor: localhost
Comment: converted to 1.6 markup
Deletions are marked like this. Additions are marked like this.
Line 3: Line 3:
This table lists ["Mercurial"]'s equivalents for commands provided by ["CVS"]. Many CVS commands that do not have direct equivalents in ["Mercurial"] are discussed in CvsConcepts. This table lists [[Mercurial]]'s equivalents for commands provided by [[CVS]]. Many CVS commands that do not have direct equivalents in [[Mercurial]] are discussed in CvsConcepts.
Line 6: Line 6:
|| add || add || add a new file to the ["Repository"] || || add || add || add a new file to the [[Repository]] ||
Line 10: Line 10:
|| commit || commit || ["Commit"] outstanding changes to a new ChangeSet, use push to send commits to remote repository ||
|| diff || diff || ["Diff"] ["Revision"]s, or ["Tip"] vs WorkingDirectory ||
|| export || archive || CVS export and Mercurial ["Export"] are ''different''! ||
|| commit || commit || [[Commit]] outstanding changes to a new ChangeSet, use push to send commits to remote repository ||
|| diff || diff || [[Diff]] [[Revision]]s, or [[Tip]] vs WorkingDirectory ||
|| export || archive || CVS export and Mercurial [[Export]] are ''different''! ||
Line 14: Line 14:
|| import || addremove || Use addremove and commit to import source trees, Mercurial's ["Import"] only imports patches! ||
|| init || init || create a new ["Repository"] from scratch ||
|| kserver || serve || [:CvsConcepts#server:read this] - export ["Repository"] via HTTP ||
|| log || log || show ["Revision"] history of ["Repository"] or file ||
|| login || || [:CvsConcepts#login:read this] ||
|| import || addremove || Use addremove and commit to import source trees, Mercurial's [[Import]] only imports patches! ||
|| init || init || create a new [[Repository]] from scratch ||
|| kserver || serve || [[CvsConcepts#server|read this]] - export [[Repository]] via HTTP ||
|| log || log || show [[Revision]] history of [[Repository]] or file ||
|| login || || [[CvsConcepts#login|read this]] ||
Line 20: Line 20:
|| pserver || serve || [:CvsConcepts#server:read this] - export ["Repository"] via HTTP || || pserver || serve || [[CvsConcepts#server|read this]] - export [[Repository]] via HTTP ||
Line 22: Line 22:
|| rdiff || export || ["Export"] ChangeSet in PatchFile format || || rdiff || export || [[Export]] ChangeSet in PatchFile format ||
Line 24: Line 24:
|| remove || remove || remove the specified files on the next ["Commit"] || || remove || remove || remove the specified files on the next [[Commit]] ||
Line 26: Line 26:
|| rtag || tag || add a ["Tag"] for a ChangeSet ||
|| server || serve || [:CvsConcepts#server:read this] - export ["Repository"] via HTTP ||
|| rtag || tag || add a [[Tag]] for a ChangeSet ||
|| server || serve || [[CvsConcepts#server|read this]] - export [[Repository]] via HTTP ||
Line 29: Line 29:
|| tag || tag || [:CvsConcepts#tag:read this] - add a ["Tag"] for a ChangeSet || || tag || tag || [[CvsConcepts#tag|read this]] - add a [[Tag]] for a ChangeSet ||
Line 33: Line 33:
|| watch || || [:CvsConcepts#watch:read this] ||
|| watchers || || [:CvsConcepts#watch:read this] ||
|| watch || || [[CvsConcepts#watch|read this]] ||
|| watchers || || [[CvsConcepts#watch|read this]] ||

Mercurial equivalents of CVS commands

This table lists Mercurial's equivalents for commands provided by CVS. Many CVS commands that do not have direct equivalents in Mercurial are discussed in CvsConcepts.

CVS

Mercurial

Meaning

add

add

add a new file to the Repository

admin

annotate

annotate

show modification info for each line in a file

checkout

update

update WorkingDirectory to match local repository, use clone to copy a repository

commit

commit

Commit outstanding changes to a new ChangeSet, use push to send commits to remote repository

diff

diff

Diff Revisions, or Tip vs WorkingDirectory

export

archive

CVS export and Mercurial Export are different!

history

import

addremove

Use addremove and commit to import source trees, Mercurial's Import only imports patches!

init

init

create a new Repository from scratch

kserver

serve

read this - export Repository via HTTP

log

log

show Revision history of Repository or file

login

read this

logout

pserver

serve

read this - export Repository via HTTP

rannotate

rdiff

export

Export ChangeSet in PatchFile format

release

remove

remove

remove the specified files on the next Commit

rlog

rtag

tag

add a Tag for a ChangeSet

server

serve

read this - export Repository via HTTP

status

status

show changed files in WorkingDirectory

tag

tag

read this - add a Tag for a ChangeSet

unedit

update

update

update or merge WorkingDirectory, use pull before update to get remote changes

version

version

print version and copyright information

watch

read this

watchers

read this

CvsCommands (last edited 2012-11-06 13:50:26 by abuehl)