Show More
@@ -8,6 +8,7 b'' | |||||
8 | from __future__ import absolute_import |
|
8 | from __future__ import absolute_import | |
9 |
|
9 | |||
10 | import errno |
|
10 | import errno | |
|
11 | import functools | |||
11 | import os |
|
12 | import os | |
12 | import random |
|
13 | import random | |
13 | import sys |
|
14 | import sys | |
@@ -193,6 +194,7 b' def hasunfilteredcache(repo, name):' | |||||
193 | def unfilteredmethod(orig): |
|
194 | def unfilteredmethod(orig): | |
194 | """decorate method that always need to be run on unfiltered version""" |
|
195 | """decorate method that always need to be run on unfiltered version""" | |
195 |
|
196 | |||
|
197 | @functools.wraps(orig) | |||
196 | def wrapper(repo, *args, **kwargs): |
|
198 | def wrapper(repo, *args, **kwargs): | |
197 | return orig(repo.unfiltered(), *args, **kwargs) |
|
199 | return orig(repo.unfiltered(), *args, **kwargs) | |
198 |
|
200 |
General Comments 0
You need to be logged in to leave comments.
Login now