]> arthur.barton.de Git - bup.git/blobdiff - cmd/restore-cmd.py
Replace lresolve with resolve(..., follow=False)
[bup.git] / cmd / restore-cmd.py
index 6544a24b908e966fd4796a784958957fa13ff79f..0edbdefff1395dff0ca101efdb8f3728bae306c7 100755 (executable)
@@ -246,7 +246,7 @@ def main():
             add_error("path %r doesn't include a branch and revision" % path)
             continue
         try:
-            resolved = vfs.lresolve(repo, path, want_meta=True)
+            resolved = vfs.resolve(repo, path, want_meta=True, follow=False)
         except vfs.IOError as e:
             add_error(e)
             continue