Comment 2 for bug 3632

Revision history for this message
Matthieu Moy (matthieu-moy) wrote :

> How do you specific "bzr cat -r <working tree>" then?

I don't understand the relationship between my proposal and your question. Currently, I have:

$ bzr cat foo.c
bzr: ERROR: bzr cat requires a revision number

I suggest replacing a forbidden command by a reasonable behavior, that doesn't remove any other behavior.

So, to rephrase my proposal: If "-r" is provided, keep the current behavior. If "-r" is not provided, use the latest revision in the current working tree instead of raising an error. This is what "diff" and "status" do AFAIK.