Mercurial > hg
comparison hgext/largefiles/overrides.py @ 17695:75f25bd4c7d4 stable
largefiles: download missing subrepo revs when archiving
This is something plain hgsubrepos already do. Previously, an abort message
complained about an unknown revision.
author | Matt Harbison <matt_harbison@yahoo.com> |
---|---|
date | Sun, 23 Sep 2012 00:08:13 -0400 |
parents | a02c1ffddae9 |
children | 57fe5aca86af |
comparison
equal
deleted
inserted
replaced
17684:e4ed5638bc55 | 17695:75f25bd4c7d4 |
---|---|
839 sub.archive(repo.ui, archiver, prefix, submatch) | 839 sub.archive(repo.ui, archiver, prefix, submatch) |
840 | 840 |
841 archiver.done() | 841 archiver.done() |
842 | 842 |
843 def hgsubrepoarchive(orig, repo, ui, archiver, prefix, match=None): | 843 def hgsubrepoarchive(orig, repo, ui, archiver, prefix, match=None): |
844 repo._get(repo._state + ('hg',)) | |
844 rev = repo._state[1] | 845 rev = repo._state[1] |
845 ctx = repo._repo[rev] | 846 ctx = repo._repo[rev] |
846 | 847 |
847 lfcommands.cachelfiles(ui, repo._repo, ctx.node()) | 848 lfcommands.cachelfiles(ui, repo._repo, ctx.node()) |
848 | 849 |