Differences between revisions 5 and 6
Revision 5 as of 2005-08-28 08:07:07
Size: 2321
Editor: mpm
Comment:
Revision 6 as of 2005-08-28 08:14:06
Size: 2321
Editor: mpm
Comment:
Deletions are marked like this. Additions are marked like this.
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 repository

commit

commit

["Commit"] outstanding changes to a new ChangeSet

diff

diff

["Diff"] ["Revision"]s, or ["Tip"] vs WorkingDirectory

export

CVS export and Mercurial ["Export"] are different!

history

import

CVS import and Mercurial ["Import"] are different!

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]

logout

pserver

serve

[:CvsConcepts#server: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

[:CvsConcepts#server:read this] - export ["Repository"] via HTTP

status

status

show changed files in WorkingDirectory

tag

tag

[:CvsConcepts#tag:read this] - add a ["Tag"] for a ChangeSet

unedit

update

update

update or merge WorkingDirectory

version

version

print version and copyright information

watch

[:CvsConcepts#watch:read this]

watchers

[:CvsConcepts#watch:read this]

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