#pragma section-numbers 2 = Darcs Concepts = Information about migrating from and interacting with Darcs. <> == Command equivalence table == ||'''Darcs command''' ||'''Hg command''' ||'''Notes''' || ||`darcs init` ||`hg init` || || ||`darcs get ` ||`hg clone `|| || ||`darcs put ` ||`hg clone . `|| || ||`darcs pull -a` ||`hg fetch` ||Requires the FetchExtension to be enabled. || ||`darcs pull` ''(selectively)'' ||`hg pull` + either `hg transplant ` or `hg export | hg import -` ||Transplant requires the TransplantExtension. || || ||`hg pull` || || || ||`hg incoming` || || || ||`hg update -c ` || || ||`darcs push -a` ||`hg push`|| || ||`darcs push` ''(selectively)''|| || || || ||`hg outgoing` || || ||`darcs revert ` || `hg revert ` || || ||`darcs show contents -p > ` || `hg revert -r ` || || ||`darcs rollback -p ` ||`hg backout ` || || ||`darcs add ` ||`hg add ` || || ||`darcs record -a []` ||`hg commit []` || || ||`darcs record []` ||`hg record []` || Requires RecordExtension to be enabled.|| ||`darcs unrecord` ||`hg rollback` || Rollback only works for one last transaction.|| ||`darcs whatsnew -s []` ||`hg status []` || || ||`darcs whatsnew []` ||`hg diff []` || || ||`darcs amend-record` ||`hg qimport -r tip ; hg qrefresh -e ; hg qfinish tip ` ||Requires the MqExtension. || ||`darcs tag ` ||`hg tag ` || || ||`darcs annotate` ||`hg annotate` || || || ||`hg bisect` || || || ||`hg histedit ` ||Requires the HisteditExtension. || || ||`hg shelve` ||Requires the ShelveExtension or the AtticExtension. || || ||`hg merge` || || || ||`hg rebase -d ` ||Requires the RebaseExtension. || ||`darcs send -p ` ||`hg email -r ` (or `hg bundle -r ` and send manually) ||Hg email requires the PatchbombExtension. || ||`darcs apply < ` ||`hg mimport -m ` (or `hg unbundle `) ||Requires the MboxExtension and the MqExtension. Imports patches to mq. || ||`darcs log` ||`hg log` || ||