Page MenuHomePhabricator

D17075.id41091.diff
No OneTemporary

D17075.id41091.diff

diff --git a/src/__phutil_library_map__.php b/src/__phutil_library_map__.php
--- a/src/__phutil_library_map__.php
+++ b/src/__phutil_library_map__.php
@@ -445,7 +445,6 @@
'DifferentialGetWorkingCopy' => 'applications/differential/DifferentialGetWorkingCopy.php',
'DifferentialGitHubLandingStrategy' => 'applications/differential/landing/DifferentialGitHubLandingStrategy.php',
'DifferentialGitSVNIDCommitMessageField' => 'applications/differential/field/DifferentialGitSVNIDCommitMessageField.php',
- 'DifferentialGitSVNIDField' => 'applications/differential/customfield/DifferentialGitSVNIDField.php',
'DifferentialHarbormasterField' => 'applications/differential/customfield/DifferentialHarbormasterField.php',
'DifferentialHiddenComment' => 'applications/differential/storage/DifferentialHiddenComment.php',
'DifferentialHostField' => 'applications/differential/customfield/DifferentialHostField.php',
@@ -5095,7 +5094,6 @@
'DifferentialGetWorkingCopy' => 'Phobject',
'DifferentialGitHubLandingStrategy' => 'DifferentialLandingStrategy',
'DifferentialGitSVNIDCommitMessageField' => 'DifferentialCommitMessageField',
- 'DifferentialGitSVNIDField' => 'DifferentialCustomField',
'DifferentialHarbormasterField' => 'DifferentialCustomField',
'DifferentialHiddenComment' => 'DifferentialDAO',
'DifferentialHostField' => 'DifferentialCustomField',
diff --git a/src/applications/differential/customfield/DifferentialGitSVNIDField.php b/src/applications/differential/customfield/DifferentialGitSVNIDField.php
deleted file mode 100644
--- a/src/applications/differential/customfield/DifferentialGitSVNIDField.php
+++ /dev/null
@@ -1,45 +0,0 @@
-<?php
-
-/**
- * This field doesn't do anything, it just parses the "git-svn-id" field which
- * `git svn` inserts into commit messages so that we don't end up mangling
- * some other field.
- */
-final class DifferentialGitSVNIDField
- extends DifferentialCustomField {
-
- public function getFieldKey() {
- return 'differential:git-svn-id';
- }
-
- public function getFieldKeyForConduit() {
- return 'gitSVNID';
- }
-
- public function getFieldName() {
- return pht('git-svn-id');
- }
-
- public function getFieldDescription() {
- return pht(
- 'Parses the "%s" field which Git/SVN can inject into commit messages.',
- 'git-svn-id');
- }
-
- public function canDisableField() {
- return false;
- }
-
- public function shouldAppearInCommitMessage() {
- return true;
- }
-
- public function shouldAllowEditInCommitMessage() {
- return false;
- }
-
- public function renderCommitMessageValue(array $handles) {
- return null;
- }
-
-}

File Metadata

Mime Type
text/plain
Expires
Wed, May 15, 5:27 AM (2 w, 5 d ago)
Storage Engine
blob
Storage Format
Encrypted (AES-256-CBC)
Storage Handle
6289560
Default Alt Text
D17075.id41091.diff (2 KB)

Event Timeline