<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://wiki.ccarh.org/index.php?action=history&amp;feed=atom&amp;title=Mercurial</id>
	<title>Mercurial - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://wiki.ccarh.org/index.php?action=history&amp;feed=atom&amp;title=Mercurial"/>
	<link rel="alternate" type="text/html" href="https://wiki.ccarh.org/index.php?title=Mercurial&amp;action=history"/>
	<updated>2026-04-11T20:22:38Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.43.0</generator>
	<entry>
		<id>https://wiki.ccarh.org/index.php?title=Mercurial&amp;diff=2754&amp;oldid=prev</id>
		<title>Craig: Created page with &#039;== Installation ==  == Creating ==  == Renaming files ==  To rename a file in a mercurial repository, use the &lt;i&gt;rename&lt;/i&gt; (or &lt;i&gt;mv&lt;/i&gt; command after the &lt;tt&gt;hg&lt;/tt&gt; command.  …&#039;</title>
		<link rel="alternate" type="text/html" href="https://wiki.ccarh.org/index.php?title=Mercurial&amp;diff=2754&amp;oldid=prev"/>
		<updated>2012-01-27T21:17:07Z</updated>

		<summary type="html">&lt;p&gt;Created page with &amp;#039;== Installation ==  == Creating ==  == Renaming files ==  To rename a file in a mercurial repository, use the &amp;lt;i&amp;gt;rename&amp;lt;/i&amp;gt; (or &amp;lt;i&amp;gt;mv&amp;lt;/i&amp;gt; command after the &amp;lt;tt&amp;gt;hg&amp;lt;/tt&amp;gt; command.  …&amp;#039;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;== Installation ==&lt;br /&gt;
&lt;br /&gt;
== Creating ==&lt;br /&gt;
&lt;br /&gt;
== Renaming files ==&lt;br /&gt;
&lt;br /&gt;
To rename a file in a mercurial repository, use the &amp;lt;i&amp;gt;rename&amp;lt;/i&amp;gt; (or &amp;lt;i&amp;gt;mv&amp;lt;/i&amp;gt; command after the &amp;lt;tt&amp;gt;hg&amp;lt;/tt&amp;gt; command.  For example to rename &amp;lt;i&amp;gt;oldfile.txt&amp;lt;/i&amp;gt; to&lt;br /&gt;
&amp;lt;i&amp;gt;newfile.txt&amp;lt;/i&amp;gt;, do this command:&lt;br /&gt;
   hg rename oldfile.txt newfile.txt&lt;br /&gt;
This will move the file to the new name as well as stop mercurial from monitoring the old filename and have it start monitoring the new file for changes.&lt;br /&gt;
&lt;br /&gt;
Running the &amp;lt;tt&amp;gt;hg status&amp;lt;/tt&amp;gt; command will display one addition and one removal to the repository:&lt;br /&gt;
    hg status&lt;br /&gt;
    A newfile.txt&lt;br /&gt;
    R oldfile.txt&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Links ==&lt;br /&gt;
&lt;br /&gt;
* [http://mercurial.selenic.com/ Mercurial homepage].&lt;br /&gt;
** [http://mercurial.selenic.com/quickstart Quick Start].&lt;br /&gt;
** [http://mercurial.selenic.com/wiki/BeginnersGuides Beginner&amp;#039;s Guide].&lt;br /&gt;
** [http://mercurial.selenic.com/wiki/Tutorial Tutorial].&lt;br /&gt;
** [http://mercurial.selenic.com/wiki/UnderstandingMercurial Understanding Mercurial].&lt;br /&gt;
* [http://hginit.com/ HgInit]: a Mercurial tutorial by Joel Spolsky.&lt;br /&gt;
* [http://en.wikipedia.org/wiki/Mercurial Mercurial Wikipedia entry].&lt;br /&gt;
* [http://hgbook.red-bean.com Mercurial: The Definitive Guide] by Bryan O&amp;#039;Sullivan ([http://mercurial.selenic.com/wiki/MercurialBook alternate location]).&lt;br /&gt;
* [http://www.dribin.org/dave/blog/archives/2007/12/30/why_mercurial/ Why I chose Mercurial] Dave Dribin.&lt;/div&gt;</summary>
		<author><name>Craig</name></author>
	</entry>
</feed>