Jason Harris avatar Jason Harris committed 12c96b6

change exclude -> ban in rename

Comments (0)

Files changed (1)

-== Exclude Changesets ==
+== Ban Changesets ==
 
-A mercurial extension to exclude specific changesets from a repository.
+A mercurial extension to ban specific changesets from a repository.
 
 === Use Case ===
 
 
 The problem is of course that in a team of say 20 people someone might have already pulled the "bad" revisions and they may accidentally miss the email, and re-push these bad revisions back to the central server.
 
-The extension exclude-changesets is intended to prevent such a re-push of these "bad" changesets.
+The extension ban-changesets is intended to prevent such a re-push of these "bad" changesets.
 
-Thus anyone who can change files on the server can simply add the above changeset hashes to the file repo/{{{.excludedchangesets}}} (creating this file if necessary) and if the exclude-changesets extension is configured on the server, then none of the team can accidentally push any group of changesets which contain the changesets excluded in the file repo/{{{.excludedchangesets}}}.
+Thus anyone who can change files on the server can simply add the above changeset hashes to the file repo/{{{.hgbannedchangesets}}} (creating this file if necessary) and if the ban-changesets extension is configured on the server, then none of the team can accidentally push any group of changesets which contain the changesets banned in the file repo/{{{.hgbannedchangesets}}}.
 
-=== Enabling the Exclude Changesets extension ===
+=== Enabling the Ban Changesets extension ===
 
-The exclude-changesets extension is enabled just like other mercurial extensions. Ie add something like the following to your {{{~/.hgrc}}} file:
+The ban-changesets extension is enabled just like other mercurial extensions. Ie add something like the following to your {{{~/.hgrc}}} file:
 {{{
 [extensions]
-exclude-changesets = /path/to/exclude-changesets.py
+ban-changesets = /path/to/ban-changesets.py
 }}}
 
-=== Format of the .excludedchangesets file ===
+=== Format of the .hgbanneddchangesets file ===
 
-The {{{.excludedchangesets}}} file is examined line by line by the exclude-changesets extension. The changeset hash should start at the very beginning of the line and anything else on the line is ignored. (In fact if you understand regular expressions each line is matched by "{{{(^[0-9a-fA-F]+).*}}}" and the changeset hash is taken to be {{{\1}}})
+The {{{.hgbanneddchangesets}}} file is examined line by line by the ban-changesets extension. The changeset hash should start at the very beginning of the line and anything else on the line is ignored. (In fact if you understand regular expressions each line is matched by "{{{(^[0-9a-fA-F]+).*}}}" and the changeset hash is taken to be {{{\1}}})
 
-Thus the following is a valid {{{.excludedchangeset}}} file:
+Thus the following is a valid {{{.hgbanneddchangeset}}} file:
 {{{
 # Ignore these changesets due to bad branch merge
 162a93e027fdcc6f037c80d185eb201e346da0b0
 
 === What does a user do if changesets are rejected ===
 
-If you are trying to push some changesets to the server but the push is rejected because some of the changesets are excluded from the repository, then likely you should:
+If you are trying to push some changesets to the server but the push is rejected because some of the changesets are banned from the repository, then likely you should:
 
 # Read any messages from the person who specifically interdicted the changesets.
 # Determine in your local repository if you have committed anything on top of these bad changesets.
Tip: Filter by directory path e.g. /media app.js to search for public/media/app.js.
Tip: Use camelCasing e.g. ProjME to search for ProjectModifiedEvent.java.
Tip: Filter by extension type e.g. /repo .js to search for all .js files in the /repo directory.
Tip: Separate your search with spaces e.g. /ssh pom.xml to search for src/ssh/pom.xml.
Tip: Use ↑ and ↓ arrow keys to navigate and return to view the file.
Tip: You can also navigate files with Ctrl+j (next) and Ctrl+k (previous) and view the file with Ctrl+o.
Tip: You can also navigate files with Alt+j (next) and Alt+k (previous) and view the file with Alt+o.