##// END OF EJS Templates
largefiles: fix the directory structure when archiving a subrepo in a subrepo...
Matt Harbison -
r17106:4d0e81dc default
parent child Browse files
Show More
@@ -850,7 +850,7 b' def hgsubrepoarchive(orig, repo, ui, arc'
850
850
851 for subpath in ctx.substate:
851 for subpath in ctx.substate:
852 sub = ctx.sub(subpath)
852 sub = ctx.sub(subpath)
853 sub.archive(ui, archiver, prefix)
853 sub.archive(ui, archiver, os.path.join(prefix, repo._path) + '/')
854
854
855 # If a largefile is modified, the change is not reflected in its
855 # If a largefile is modified, the change is not reflected in its
856 # standin until a commit. cmdutil.bailifchanged() raises an exception
856 # standin until a commit. cmdutil.bailifchanged() raises an exception
@@ -125,8 +125,8 b' Note that add --large through a subrepo '
125 ../archive_lf/sub1/.hgsub
125 ../archive_lf/sub1/.hgsub
126 ../archive_lf/sub1/.hgsubstate
126 ../archive_lf/sub1/.hgsubstate
127 ../archive_lf/sub1/sub1
127 ../archive_lf/sub1/sub1
128 ../archive_lf/sub2
128 ../archive_lf/sub1/sub2
129 ../archive_lf/sub2/large.bin
129 ../archive_lf/sub1/sub2/large.bin
130 ../archive_lf/sub2/sub2
130 ../archive_lf/sub1/sub2/sub2
131
131
132 $ cd ..
132 $ cd ..
General Comments 0
You need to be logged in to leave comments. Login now