]> arthur.barton.de Git - bup.git/blobdiff - lib/bup/vfs.py
vfs: remove support for /foo/TAG (keep /.tag/TAG)
[bup.git] / lib / bup / vfs.py
index f1c6a7bcbe0dacd24f83416b63a670ddb5d717c8..2c1f4ebfa81c42eca82c0838a0095f19cf5d6827 100644 (file)
@@ -544,8 +544,6 @@ class BranchList(Node):
     def _mksubs(self):
         self._subs = {}
 
-        tags = git.tags(repo_dir = self._repo_dir)
-
         revs = list(git.rev_list(self.hash.encode('hex'),
                                  repo_dir=self._repo_dir))
         latest = revs[0]
@@ -558,11 +556,6 @@ class BranchList(Node):
             n1.ctime = n1.mtime = date
             self._subs[ls] = n1
 
-            for tag in tags.get(commit, []):
-                t1 = FakeSymlink(self, tag, target, self._repo_dir)
-                t1.ctime = t1.mtime = date
-                self._subs[tag] = t1
-
         (date, commit) = latest
         commithex = commit.encode('hex')
         target = '../.commit/%s/%s' % (commithex[:2], commithex[2:])