On Mon, Mar 19, 2007 at 01:26:38PM -0700, Kyle McKay wrote:
> How does one get the equivalent of svn diff -r working:head output?
>
>
> And there doesn't seem to be any way to generate that. That seems to
> be a bug to me.
>
> One obvious way to fix it is to add this sequence:
>
> else if (strcasecmp(word, "working") == 0)
> {
> revision->kind = svn_opt_revision_working;
> }
>
> to the revision_from_word function located in libsvn_subr/opt.c file
> which then permits "svn diff -r WORKING:HEAD" to produce the desired
> output. Of course that also means that all other commands would
> start accepting "WORKING" as a revision. That may not be a bad
> thing, but it's unclear to me what other ramifications it will have.
>
> Would it be possible to get an issue opened for this so that it can
> be tracked?
>
It's already there: issue 2683, with substantially the same patch.
Note that WORKING:<something> diffs are likely to be a little buggy at
the moment, at least partly because they don't have any test coverage.
What do people think about adding in support for the WORKING keyword and
seeing what shakes loose?
Regards,
Malcolm
- application/pgp-signature attachment: stored
Received on Mon Mar 19 22:20:19 2007