You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@allura.apache.org by br...@apache.org on 2013/05/24 20:18:18 UTC

[42/50] git commit: [#6125] Remove 'committed' from email subject

[#6125] Remove 'committed' from email subject

Signed-off-by: Tim Van Steenburgh <tv...@gmail.com>


Project: http://git-wip-us.apache.org/repos/asf/incubator-allura/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-allura/commit/62a27c3c
Tree: http://git-wip-us.apache.org/repos/asf/incubator-allura/tree/62a27c3c
Diff: http://git-wip-us.apache.org/repos/asf/incubator-allura/diff/62a27c3c

Branch: refs/heads/db/6007
Commit: 62a27c3c2ce821309d6ccb8bd74c8d8d7b1db0d9
Parents: e409b0e
Author: Tim Van Steenburgh <tv...@gmail.com>
Authored: Thu May 23 20:18:21 2013 +0000
Committer: Tim Van Steenburgh <tv...@gmail.com>
Committed: Thu May 23 20:18:21 2013 +0000

----------------------------------------------------------------------
 Allura/allura/model/repo_refresh.py              |    2 +-
 ForgeGit/forgegit/tests/model/test_repository.py |    2 +-
 ForgeSVN/forgesvn/tests/model/test_repository.py |    2 +-
 3 files changed, 3 insertions(+), 3 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-allura/blob/62a27c3c/Allura/allura/model/repo_refresh.py
----------------------------------------------------------------------
diff --git a/Allura/allura/model/repo_refresh.py b/Allura/allura/model/repo_refresh.py
index e2821f6..52855b5 100644
--- a/Allura/allura/model/repo_refresh.py
+++ b/Allura/allura/model/repo_refresh.py
@@ -420,7 +420,7 @@ def send_notifications(repo, commit_ids):
                 len(commit_msgs), repo.app.project.name, repo.app.config.options.mount_label)
             text='\n\n'.join(commit_msgs)
         else:
-            subject = '{0} - {1} committed: {2}'.format(
+            subject = '{0} - {1}: {2}'.format(
                 repo.shorthand_for_commit(ci._id),
                 ci.authored.name,
                 summary)

http://git-wip-us.apache.org/repos/asf/incubator-allura/blob/62a27c3c/ForgeGit/forgegit/tests/model/test_repository.py
----------------------------------------------------------------------
diff --git a/ForgeGit/forgegit/tests/model/test_repository.py b/ForgeGit/forgegit/tests/model/test_repository.py
index 2eb90da..316f202 100644
--- a/ForgeGit/forgegit/tests/model/test_repository.py
+++ b/ForgeGit/forgegit/tests/model/test_repository.py
@@ -264,7 +264,7 @@ class TestGitRepo(unittest.TestCase, RepoImplTestBase):
         ThreadLocalORMSession.flush_all()
         notifications = M.Notification.query.find().sort('pubdate')
         n = notifications.all()[2]
-        assert_equal(n.subject, '[test:src-git] [1e146e] - Rick Copeland committed: Change README')
+        assert_equal(n.subject, '[test:src-git] [1e146e] - Rick Copeland: Change README')
         assert 'master,zz: ' in n.text
         send_notifications(self.repo, ['1e146e67985dcd71c74de79613719bef7bddca4a', 'df30427c488aeab84b2352bdf88a3b19223f9d7a'])
         ThreadLocalORMSession.flush_all()

http://git-wip-us.apache.org/repos/asf/incubator-allura/blob/62a27c3c/ForgeSVN/forgesvn/tests/model/test_repository.py
----------------------------------------------------------------------
diff --git a/ForgeSVN/forgesvn/tests/model/test_repository.py b/ForgeSVN/forgesvn/tests/model/test_repository.py
index 082d423..6026125 100644
--- a/ForgeSVN/forgesvn/tests/model/test_repository.py
+++ b/ForgeSVN/forgesvn/tests/model/test_repository.py
@@ -419,7 +419,7 @@ class TestSVNRev(unittest.TestCase):
         ThreadLocalORMSession.flush_all()
         notifications = M.Notification.query.find().sort('pubdate')
         n = notifications.all()[3]
-        assert_equal(n.subject, '[test:src] [r1] - rick446 committed: Create readme')
+        assert_equal(n.subject, '[test:src] [r1] - rick446: Create readme')
         assert_equal(n.text, 'Create readme http://localhost//p/test/src/1/')