[darcs-devel] [issue2501] "darcs show files" does not work in a repository with suspended patches

Ganesh Sittampalam bugs at darcs.net
Mon Jun 20 05:43:37 UTC 2016


Ganesh Sittampalam <ganesh at earth.li> added the comment:

For bad implementation reasons this is not going to be trivial to 
fix, but as a workaround you can pass the `--no-pending` flag. This 
will have the side-effect of ignoring outstanding changes e.g. from 
`darcs add`.

Implementation note - this is because repositories in rebase 
automatically add a "nonInternal" matcher to the command-line 
arguments. This in turn causes 'show files' to think it can't just 
look in recorded to see the live files, and it doesn't know how to 
apply pending on top of any other repository state. In practice if 
the nonInternal matcher is the only matcher, it can just look in 
recorded, but I'd like to find a clean way of signalling that, or to 
get away from the hack of using an extra matcher to ignore rebase 
internal patches.

----------
status: unknown -> needs-diagnosis/design

__________________________________
Darcs bug tracker <bugs at darcs.net>
<http://bugs.darcs.net/issue2501>
__________________________________


More information about the darcs-devel mailing list