# HG changeset patch # User Bryan O'Sullivan # Date 1239342736 25200 # Node ID b338f54900290c05e3e879d068fa9da77b3b6b0b # Parent eb11ec9eed8c49f1947f3a8e6f373fbacdd37e86 Americanize spellings :-( diff -r eb11ec9eed8c -r b338f5490029 en/appA-cmdref.xml --- a/en/appA-cmdref.xml Thu Apr 09 22:52:01 2009 -0700 +++ b/en/appA-cmdref.xml Thu Apr 09 22:52:16 2009 -0700 @@ -16,7 +16,7 @@ unified diff format, see . By default, this command does not print diffs for files that Mercurial -considers to contain binary data. To control this behaviour, see the +considers to contain binary data. To control this behavior, see the and options. diff -r eb11ec9eed8c -r b338f5490029 en/appB-mq-ref.xml --- a/en/appB-mq-ref.xml Thu Apr 09 22:52:01 2009 -0700 +++ b/en/appB-mq-ref.xml Thu Apr 09 22:52:16 2009 -0700 @@ -190,7 +190,7 @@ files in the working directory, it will refuse to create a new patch unless the option is used - (see below). This behaviour allows you to qrefresh your topmost applied patch before you apply a new patch on top of it. @@ -256,7 +256,7 @@ By default, the qpop command will not pop any patches if the working directory has - been modified. You can override this behaviour using the + been modified. You can override this behavior using the option, which reverts all modifications in the working directory. diff -r eb11ec9eed8c -r b338f5490029 en/ch00-preface.xml --- a/en/ch00-preface.xml Thu Apr 09 22:52:01 2009 -0700 +++ b/en/ch00-preface.xml Thu Apr 09 22:52:16 2009 -0700 @@ -152,7 +152,7 @@ The advantage of this approach is that the examples are always accurate; they describe exactly the - behaviour of the version of Mercurial that's mentioned at the + behavior of the version of Mercurial that's mentioned at the front of the book. If I update the version of Mercurial that I'm documenting, and the output of some command changes, the build fails. @@ -173,7 +173,7 @@ So when you're reading examples, don't place too much weight on the dates or times you see in the output of commands. But - do be confident that the behaviour you're + do be confident that the behavior you're seeing is consistent and reproducible. diff -r eb11ec9eed8c -r b338f5490029 en/ch03-concepts.xml --- a/en/ch03-concepts.xml Thu Apr 09 22:52:01 2009 -0700 +++ b/en/ch03-concepts.xml Thu Apr 09 22:52:16 2009 -0700 @@ -17,7 +17,7 @@ efficient. And just as importantly, if it's easy for me to retain a good idea of what the software is doing when I perform a revision control task, I'm less likely to be - surprised by its behaviour. + surprised by its behavior. In this chapter, we'll initially cover the core concepts behind Mercurial's design, then continue to discuss some of the @@ -444,7 +444,7 @@ hg commit. In other words, this almost never has negative consequences; it's just something of a surprise for newcomers. I'll discuss other - ways to avoid this behaviour, and why Mercurial behaves in + ways to avoid this behavior, and why Mercurial behaves in this initially surprising way, later on. diff -r eb11ec9eed8c -r b338f5490029 en/ch04-daily.xml --- a/en/ch04-daily.xml Thu Apr 09 22:52:01 2009 -0700 +++ b/en/ch04-daily.xml Thu Apr 09 22:52:16 2009 -0700 @@ -44,7 +44,7 @@ Explicit versus implicit file naming - A useful behaviour that Mercurial has is that if you pass + A useful behavior that Mercurial has is that if you pass the name of a directory to a command, every Mercurial command will treat this as I want to operate on every file in this directory and its subdirectories. @@ -66,11 +66,11 @@ extra step of printing the name of each file that it does something with. This makes it more clear what is happening, and reduces the likelihood of a silent and nasty surprise. - This behaviour is common to most Mercurial commands. + This behavior is common to most Mercurial commands. - Aside: Mercurial tracks files, not directories + Mercurial tracks files, not directories Mercurial does not track directory information. Instead, it tracks the path to a file. Before creating a file, it @@ -277,7 +277,7 @@ Why should changes follow copies? - This behaviour, of changes to a file propagating out to + This behavior, of changes to a file propagating out to copies of the file, might seem esoteric, but in most cases it's highly desirable. @@ -330,7 +330,7 @@ the new copy by hand. Before you do so, though, please do reread , and make an informed - decision that this behaviour is not appropriate to your + decision that this behavior is not appropriate to your specific case. @@ -345,7 +345,7 @@ role="hg-cmd">hg copy it without first having committed those changes, the new copy will also contain the modifications you have made up until that point. (I find this - behaviour a little counterintuitive, which is why I mention it + behavior a little counterintuitive, which is why I mention it here.) The hg copy command acts @@ -421,7 +421,7 @@ hg copy, you can tell Mercurial about a rename after the fact using the option. In most other - respects, the behaviour of the hg + respects, the behavior of the hg rename command, and the options it accepts, are similar to the hg copy command. @@ -472,7 +472,7 @@ file ought to be named. What do you think should happen when they merge their - work? Mercurial's actual behaviour is that it always preserves + work? Mercurial's actual behavior is that it always preserves both names when it merges changesets that contain divergent renames. diff -r eb11ec9eed8c -r b338f5490029 en/ch05-collab.xml --- a/en/ch05-collab.xml Thu Apr 09 22:52:01 2009 -0700 +++ b/en/ch05-collab.xml Thu Apr 09 22:52:16 2009 -0700 @@ -828,7 +828,7 @@ Mercurial does not compress data when it uses the ssh protocol, because the ssh protocol can transparently compress - data. However, the default behaviour of ssh clients is + data. However, the default behavior of ssh clients is not to request compression. Over any network other than a fast LAN (even a wireless @@ -1416,7 +1416,7 @@ If you add web items to your own personal ~/.hgrc file, CGI scripts won't read that ~/.hgrc file. Those - settings will thus only affect the behaviour of the hg serve command when you run it. To cause CGI scripts to see your settings, either create a ~/.hgrc file in the diff -r eb11ec9eed8c -r b338f5490029 en/ch06-filenames.xml --- a/en/ch06-filenames.xml Thu Apr 09 22:52:01 2009 -0700 +++ b/en/ch06-filenames.xml Thu Apr 09 22:52:16 2009 -0700 @@ -33,8 +33,8 @@ Running commands without any file names Mercurial's commands that work with file names have useful - default behaviours when you invoke them without providing any - file names or patterns. What kind of behaviour you should + default behaviors when you invoke them without providing any + file names or patterns. What kind of behavior you should expect depends on what the command does. Here are a few rules of thumb you can use to predict what a command is likely to do if you don't give it any names to work with. @@ -51,7 +51,7 @@ arguments, for example. - It's easy to work around these default behaviours if they + It's easy to work around these default behaviors if they don't suit you. If a command normally operates on the whole working directory, you can invoke it on just the current directory and its subdirectories by giving it the name diff -r eb11ec9eed8c -r b338f5490029 en/ch07-branch.xml --- a/en/ch07-branch.xml Thu Apr 09 22:52:01 2009 -0700 +++ b/en/ch07-branch.xml Thu Apr 09 22:52:16 2009 -0700 @@ -424,7 +424,7 @@ you may need to use the option to hg update. - This behaviour is a little subtle, so let's see it in + This behavior is a little subtle, so let's see it in action. First, let's remind ourselves what branch we're currently on, and what branches are in our repository. diff -r eb11ec9eed8c -r b338f5490029 en/ch08-undo.xml --- a/en/ch08-undo.xml Thu Apr 09 22:52:01 2009 -0700 +++ b/en/ch08-undo.xml Thu Apr 09 22:52:16 2009 -0700 @@ -151,7 +151,7 @@ occurred in the repository. This means that you can only roll back one transaction. If you expect to be able to roll back one transaction, then its predecessor, this is not the - behaviour you will get. + behavior you will get. &interaction.rollback.twice; @@ -688,7 +688,7 @@ The idea behind the hg bisect command is that a changeset has introduced - some change of behaviour that you can identify with a simple + some change of behavior that you can identify with a simple binary test. You don't know which piece of code introduced the change, but you know how to test for the presence of the bug. The hg bisect command uses your @@ -1056,7 +1056,7 @@ changesets or months of history, you will only add a handful of tests to the total number that hg bisect must perform, thanks to its logarithmic - behaviour. + behavior. diff -r eb11ec9eed8c -r b338f5490029 en/ch09-hook.xml --- a/en/ch09-hook.xml Thu Apr 09 22:52:01 2009 -0700 +++ b/en/ch09-hook.xml Thu Apr 09 22:52:16 2009 -0700 @@ -185,7 +185,7 @@ Mercurial allows you to override a hook definition by redefining the hook. You can disable it by setting its value - to the empty string, or change its behaviour as you wish. + to the empty string, or change its behavior as you wish. If you deploy a system- or site-wide ~/.hgrc entries (still in the bugzilla - section) control this behaviour. + section) control this behavior. strip: The number of diff -r eb11ec9eed8c -r b338f5490029 en/ch11-mq.xml --- a/en/ch11-mq.xml Thu Apr 09 22:52:01 2009 -0700 +++ b/en/ch11-mq.xml Thu Apr 09 22:52:16 2009 -0700 @@ -66,7 +66,7 @@ During the late 1990s, several Linux kernel developers started to maintain patch series that modified - the behaviour of the Linux kernel. Some of these series were + the behavior of the Linux kernel. Some of these series were focused on stability, some on feature coverage, and others were more speculative. @@ -125,7 +125,7 @@ In mid-2005, Chris Mason took the features of quilt and wrote an extension that he called Mercurial Queues, which - added quilt-like behaviour to Mercurial. + added quilt-like behavior to Mercurial. The key difference between quilt and MQ is that quilt knows nothing about revision control systems, while MQ is diff -r eb11ec9eed8c -r b338f5490029 en/ch13-hgext.xml --- a/en/ch13-hgext.xml Thu Apr 09 22:52:01 2009 -0700 +++ b/en/ch13-hgext.xml Thu Apr 09 22:52:16 2009 -0700 @@ -99,7 +99,7 @@ the background and receives notifications from the inotify subsystem. It also listens for connections from a regular Mercurial command. The extension - modifies Mercurial's behaviour so that instead of scanning the + modifies Mercurial's behavior so that instead of scanning the filesystem, it queries the daemon. Since the daemon has perfect information about the state of the repository, it can respond with a result instantaneously, avoiding the need to scan every @@ -249,7 +249,7 @@ When you're using the inotify extension, you should notice no difference at all in Mercurial's - behaviour, with the sole exception of status-related commands + behavior, with the sole exception of status-related commands running a whole lot faster than they used to. You should specifically expect that commands will not print different output; neither should they give different results. If either of @@ -481,7 +481,7 @@ purpose of the series of changes you're sending. - Changing the behaviour of patchbombs + Changing the behavior of patchbombs Not every project has exactly the same conventions for sending changes in email; the - The default behaviour is to send unified diffs + The default behavior is to send unified diffs (see for a description of the format), one per message. You can send a binary bundle