aboutsummaryrefslogtreecommitdiffstats
path: root/doc/SPAM
diff options
context:
space:
mode:
authorW. Trevor King <wking@drexel.edu>2009-12-29 21:53:58 -0500
committerW. Trevor King <wking@drexel.edu>2009-12-29 21:53:58 -0500
commit072a46eefb66733ae570a9fb9abbc9570461a490 (patch)
tree3050e7c94972dccdebb5ee1aad58918dacbf2563 /doc/SPAM
parent16877141d526a5387a0f673b56c1cd6f3b900674 (diff)
downloadbugseverywhere-072a46eefb66733ae570a9fb9abbc9570461a490.tar.gz
Emptied interfaces directory
Mostly throwing out a bunch of outdated GUIs. The email interface hasn't been moved over to the new 'Command' format yet...
Diffstat (limited to 'doc/SPAM')
-rw-r--r--doc/SPAM34
1 files changed, 34 insertions, 0 deletions
diff --git a/doc/SPAM b/doc/SPAM
new file mode 100644
index 0000000..4d74580
--- /dev/null
+++ b/doc/SPAM
@@ -0,0 +1,34 @@
+Removing spam commits from the history
+======================================
+
+arch bzr darcs git hg none
+
+In the case that some spam or inappropriate comment makes its way
+through you interface, you can remove the offending commit XYZ with:
+
+ If the offending commit is the last commit:
+
+ arch:
+ bzr: bzr uncommit && bzr revert
+ darcs: darcs obliterate --last=1
+ git: git reset --hard HEAD^
+ hg: hg rollback && hg revert
+
+ If the offending commit is not the last commit:
+
+ arch:
+ bzr: bzr rebase -r <XYZ+1>..-1 --onto before:XYZ .
+ (requires bzr-rebase plugin, note, you have to increment XYZ by
+ hand for <XYZ+1>, because bzr does not support "after:XYZ".)
+ darcs: darcs obliterate --matches 'name XYZ'
+ git: git rebase --onto XYZ~1 XYZ
+ hg: -not-supported-
+ (From http://hgbook.red-bean.com/read/finding-and-fixing-mistakes.html#id394667
+ "Mercurial also does not provide a way to make a file or
+ changeset completely disappear from history, because there is no
+ way to enforce its disappearance")
+
+Note that all of these _change_the_repo_history_, so only do this on
+your interface-specific repo before it interacts with any other repo.
+Otherwise, you'll have to survive by cherry-picking only the good
+commits.