Page Menu
Home
Phabricator
Search
Configure Global Search
Log In
Files
F15390891
D12713.id.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Size
2 KB
Referenced Files
None
Subscribers
None
D12713.id.diff
View Options
diff --git a/src/docs/user/userguide/arcanist.diviner b/src/docs/user/userguide/arcanist.diviner
--- a/src/docs/user/userguide/arcanist.diviner
+++ b/src/docs/user/userguide/arcanist.diviner
@@ -66,8 +66,6 @@
- execute Conduit method calls with ##arc call-conduit##
- create or update libphutil libraries with ##arc liberate##
- activate tab completion with ##arc shell-complete##
- - install arc as a pre-commit hook with ##arc svn-hook-pre-commit## or
- ##arc git-hook-pre-receive##
- ...or extend Arcanist and add new commands.
Except where otherwise noted, these workflows are generally agnostic to the
diff --git a/src/docs/user/userguide/arcanist_hooks.diviner b/src/docs/user/userguide/arcanist_hooks.diviner
deleted file mode 100644
--- a/src/docs/user/userguide/arcanist_hooks.diviner
+++ /dev/null
@@ -1,41 +0,0 @@
-@title Arcanist User Guide: Repository Hooks
-@group userguide
-
-Describes how to set up Arcanist as an SVN pre-commit hook.
-
-NOTE: This whole thing might be a little shaky and take a touch of finesse.
-
-= Installing Arcanist SVN Hooks =
-
-You can install Arcanist as an SVN pre-commit hook, to reject commits which
-contain lint errors. The immediate value of this is that syntax errors won't
-be committable, but you can block other kinds of badness with appropriate lint
-engines.
-
-To install Arcanist as a pre-commit hook, add this to your svn/hooks/pre-commit:
-
- #!/bin/sh
- set -e # Exit with an error code if this fails.
- /path/to/arcanist/bin/arc svn-hook-pre-commit $@ 1>&2
-
-Make sure you make this file executable, or you'll get an error for every commit
-with an unhelpful error message. You also need to specify the full path to PHP
-since SVN nukes ENV before executing scripts. Alternatively you can specify
-PATH explicitly.
-
-If your project is configured to run linters or lint engines which aren't part
-of Arcanist, specify where to load them from with ##--load-phutil-library##:
-
- --load-phutil-library=/path/to/library/root
-
-Since SVN commit hooks run without access to a working copy, you'll need to keep
-one checked out somewhere and reference it with ##--load-phutil-library## if you
-build new linters or customize lint engines. For example, your hook might
-look like this:
-
- #!/bin/sh
- set -e # Exit with an error code if this fails.
- /usr/local/bin/php -f /path/to/arcanist/bin/arc svn-hook-pre-commit \
- --load-phutil-library=/path/to/custom/lint/engine \
- --load-phutil-library=/path/to/custom/unittest/engine \
- $@ 1>&2
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Sun, Mar 16, 7:13 AM (2 w, 6 d ago)
Storage Engine
blob
Storage Format
Encrypted (AES-256-CBC)
Storage Handle
7673254
Default Alt Text
D12713.id.diff (2 KB)
Attached To
Mode
D12713: Remove pre-commit hook documentation
Attached
Detach File
Event Timeline
Log In to Comment