summaryrefslogtreecommitdiff
path: root/seivot
diff options
context:
space:
mode:
authorLars Wirzenius <liw@liw.fi>2011-07-10 09:03:40 +0300
committerLars Wirzenius <liw@liw.fi>2011-07-10 09:03:40 +0300
commitc1668512105acb656ec8de9e0c7d6851013e5f93 (patch)
treea1a7f6d88862d81a9975c31afdbf002615d778a6 /seivot
parentc84ada0bb970781cc422113a9dd319315db1571f (diff)
downloadseivot-c1668512105acb656ec8de9e0c7d6851013e5f93.tar.gz
Add obnam-branch and obnam-branch-nick to meta section.
Diffstat (limited to 'seivot')
-rwxr-xr-xseivot2
1 files changed, 2 insertions, 0 deletions
diff --git a/seivot b/seivot
index 59478b5..2e28646 100755
--- a/seivot
+++ b/seivot
@@ -215,6 +215,8 @@ class Obnam(BackupProgram):
def set_meta(self, cp):
if self._branch:
+ cp.set('meta', 'obnam-branch', self._branch)
+ cp.set('meta', 'obnam-branch-nick', os.path.basename(self._branch))
cp.set('meta', 'revision', self._revno)
if self._larch_branch:
cp.set('meta', 'larch-revision', self._larch_revno)