hgext/largefiles/overrides.py
changeset 15626 931dc4af0d95
parent 15598 a77ce45584ef
child 15674 7b7f03502b5a
equal deleted inserted replaced
15625:efdcce3fd2d5 15626:931dc4af0d95
   633         write(f, 'x' in ff and 0755 or 0644, 'l' in ff, getdata)
   633         write(f, 'x' in ff and 0755 or 0644, 'l' in ff, getdata)
   634 
   634 
   635     if subrepos:
   635     if subrepos:
   636         for subpath in ctx.substate:
   636         for subpath in ctx.substate:
   637             sub = ctx.sub(subpath)
   637             sub = ctx.sub(subpath)
   638             try:
   638             sub.archive(repo.ui, archiver, prefix)
   639                 sub.archive(repo.ui, archiver, prefix)
       
   640             except TypeError:
       
   641                 sub.archive(archiver, prefix)
       
   642 
   639 
   643     archiver.done()
   640     archiver.done()
   644 
   641 
   645 # If a largefile is modified, the change is not reflected in its
   642 # If a largefile is modified, the change is not reflected in its
   646 # standin until a commit. cmdutil.bailifchanged() raises an exception
   643 # standin until a commit. cmdutil.bailifchanged() raises an exception