Status with Largefile Extension
Matt Harbison
matt_harbison at yahoo.com
Tue Nov 13 20:27:39 CST 2012
Smith, Bill (Tridium <bsmith <at> tridium.com> writes:
> And tbindiff does:
>
> def tbindiff(ui, repo, *pats, **opts):
> try:
> repo.lfstatus
> print 'large file repo'
> except:
> print 'standard repo'
>
> print repo.status()[0]
>
> The output of the last line is correct for regular repos, but not large file
> repos.
>
> Any thoughts or advice?
It sounds like you need to get the status of the largefile you've committed
instead of the standin. In order to do this, you need to set repo.lfstatus to
True prior to calling status(). Otherwise it gives you the status of the
standin, which I don't think is M very often, except maybe during merges and a
couple other cases.
If that's not it, can you clarify what is 'correct' or 'incorrect'?
--Matt
More information about the Mercurial-devel
mailing list