Mercurial > hgbook
comparison en/ch06-filenames.xml @ 771:b338f5490029
Americanize spellings :-(
author | Bryan O'Sullivan <bos@serpentine.com> |
---|---|
date | Thu, 09 Apr 2009 22:52:16 -0700 |
parents | 1c13ed2130a7 |
children | e6c99cbd0abd |
comparison
equal
deleted
inserted
replaced
770:eb11ec9eed8c | 771:b338f5490029 |
---|---|
31 </sect1> | 31 </sect1> |
32 <sect1> | 32 <sect1> |
33 <title>Running commands without any file names</title> | 33 <title>Running commands without any file names</title> |
34 | 34 |
35 <para id="x_547">Mercurial's commands that work with file names have useful | 35 <para id="x_547">Mercurial's commands that work with file names have useful |
36 default behaviours when you invoke them without providing any | 36 default behaviors when you invoke them without providing any |
37 file names or patterns. What kind of behaviour you should | 37 file names or patterns. What kind of behavior you should |
38 expect depends on what the command does. Here are a few rules | 38 expect depends on what the command does. Here are a few rules |
39 of thumb you can use to predict what a command is likely to do | 39 of thumb you can use to predict what a command is likely to do |
40 if you don't give it any names to work with.</para> | 40 if you don't give it any names to work with.</para> |
41 <itemizedlist> | 41 <itemizedlist> |
42 <listitem><para id="x_548">Most commands will operate on the entire working | 42 <listitem><para id="x_548">Most commands will operate on the entire working |
49 protects you from accidentally deleting files by running | 49 protects you from accidentally deleting files by running |
50 <command role="hg-cmd">hg remove</command> with no | 50 <command role="hg-cmd">hg remove</command> with no |
51 arguments, for example.</para> | 51 arguments, for example.</para> |
52 </listitem></itemizedlist> | 52 </listitem></itemizedlist> |
53 | 53 |
54 <para id="x_54a">It's easy to work around these default behaviours if they | 54 <para id="x_54a">It's easy to work around these default behaviors if they |
55 don't suit you. If a command normally operates on the whole | 55 don't suit you. If a command normally operates on the whole |
56 working directory, you can invoke it on just the current | 56 working directory, you can invoke it on just the current |
57 directory and its subdirectories by giving it the name | 57 directory and its subdirectories by giving it the name |
58 <quote><filename class="directory">.</filename></quote>.</para> | 58 <quote><filename class="directory">.</filename></quote>.</para> |
59 | 59 |