summaryrefslogtreecommitdiff
path: root/tools/patman/series.py
diff options
context:
space:
mode:
authorSimon Glass <sjg@chromium.org>2012-09-27 15:06:02 +0000
committerTom Rini <trini@ti.com>2012-10-15 11:54:03 -0700
commitef0e9de82be6bb14e1a7c5c28f976c4fced12ed2 (patch)
treefe9ea0edbf5d3eecddc978904e7d9bde84bdd585 /tools/patman/series.py
parent33f336d528d7e50947575613f2d9678bbced0445 (diff)
downloadu-boot-imx-ef0e9de82be6bb14e1a7c5c28f976c4fced12ed2.zip
u-boot-imx-ef0e9de82be6bb14e1a7c5c28f976c4fced12ed2.tar.gz
u-boot-imx-ef0e9de82be6bb14e1a7c5c28f976c4fced12ed2.tar.bz2
patman: Support Series-name tag to name a series
Sometimes it is possible to forget the name of the branch you used to generate an upstream series. To assist with this, add an optional patman does not use this. Signed-off-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'tools/patman/series.py')
-rw-r--r--tools/patman/series.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/tools/patman/series.py b/tools/patman/series.py
index ce36b23..a283a2d 100644
--- a/tools/patman/series.py
+++ b/tools/patman/series.py
@@ -25,7 +25,7 @@ import gitutil
import terminal
# Series-xxx tags that we understand
-valid_series = ['to', 'cc', 'version', 'changes', 'prefix', 'notes'];
+valid_series = ['to', 'cc', 'version', 'changes', 'prefix', 'notes', 'name'];
class Series(dict):
"""Holds information about a patch series, including all tags.
@@ -76,7 +76,7 @@ class Series(dict):
self[name] = value
else:
raise ValueError("In %s: line '%s': Unknown 'Series-%s': valid "
- "options are %s" % (self.commit.hash, line, name,
+ "options are %s" % (commit.hash, line, name,
', '.join(valid_series)))
def AddCommit(self, commit):