[PATCH 10 of 10] bundlerepo: remove check of repo names - it will be audited properly later!???
Mads Kiilerich
mads at kiilerich.com
Wed Jan 16 13:57:34 CST 2013
# HG changeset patch
# User Mads Kiilerich <madski at unity3d.com>
# Date 1358365976 -3600
# Node ID e442856809ae1e6914bc58fa574c974937de56c8
# Parent 52c0ec0dbbe5cae4daeb33d0a3591e6240e9054e
bundlerepo: remove check of repo names - it will be audited properly later!???
filelog.__init__ will prefix the path with 'data/' and it will be opened by an
opener which should audit it too ... unless it has been disabled.
diff --git a/mercurial/bundlerepo.py b/mercurial/bundlerepo.py
--- a/mercurial/bundlerepo.py
+++ b/mercurial/bundlerepo.py
@@ -256,8 +256,6 @@
if not c:
break
- if f[0] == '/':
- f = f[1:]
if f in self.bundlefilespos:
self.bundle.seek(self.bundlefilespos[f])
return bundlefilelog(self.sopener, f, self.bundle,
More information about the Mercurial-devel
mailing list