darcs

Issue 1375 Add --unified to "darcs changes"

Title Add --unified to "darcs changes"
Priority feature Status wont-fix
Milestone Resolved in
Superseder Nosy List darcs-devel, dmitry.kurochkin, ertai, kowey, thorkilnaur
Assigned To
Topics UI

Created on 2009-03-02.08:29:33 by ertai, last changed 2009-10-24.00:05:03 by admin.

Messages
msg7378 (view) Author: ertai Date: 2009-03-02.08:29:29
It would be nice to have the --unified switch in darcs changes, to get more
context when looking at the history.

However this could be too much time consuming.

As a work around, I've copied the whole repo, obliterated up to the change,
unrecorded that change, and called darcs whatsnew.
msg7380 (view) Author: kowey Date: 2009-03-02.09:45:12
On Mon, Mar 02, 2009 at 08:29:33 -0000, Nicolas Pouillard wrote:
> As a work around, I've copied the whole repo, obliterated up to the change,
> unrecorded that change, and called darcs whatsnew.

Would darcs diff --from-patch --to-patch have helped here?

There is also darcs changes --count and darc sdiff --index N-M
msg7381 (view) Author: ertai Date: 2009-03-02.11:46:13
Excerpts from Eric Kow's message of Mon Mar 02 10:44:59 +0100 2009:
> On Mon, Mar 02, 2009 at 08:29:33 -0000, Nicolas Pouillard wrote:
> > As a work around, I've copied the whole repo, obliterated up to the change,
> > unrecorded that change, and called darcs whatsnew.
> 
> Would darcs diff --from-patch --to-patch have helped here?

Indeed, this is far better.

> There is also darcs changes --count and darc sdiff --index N-M

Don't really works for me

$ darcs diff --index 1-2
darcs failed:  Pattern not specified in get_first_match.
msg7393 (view) Author: kowey Date: 2009-03-03.20:09:09
Do we still need this feature, in your opinion? 

On Mon, Mar 02, 2009 at 12:44:55 +0100, Nicolas Pouillard wrote:
> Don't really works for me
> 
> $ darcs diff --index 1-2
> darcs failed:  Pattern not specified in get_first_match.

Could you submit a new bug report for this?
msg7401 (view) Author: ertai Date: 2009-03-05.13:24:46
Excerpts from Eric Kow's message of Tue Mar 03 20:09:13 UTC 2009:
> 
> Eric Kow <kowey@darcs.net> added the comment:
> 
> Do we still need this feature, in your opinion? 

No "darcs diff" is fine, however it was not obvious to me that
if "darcs changes" cannot do it then "darcs diff" could.
That's maybe a documentation issue.

> On Mon, Mar 02, 2009 at 12:44:55 +0100, Nicolas Pouillard wrote:
> > Don't really works for me
> > 
> > $ darcs diff --index 1-2
> > darcs failed:  Pattern not specified in get_first_match.
> 
> Could you submit a new bug report for this?

Done (1378).
msg7405 (view) Author: kowey Date: 2009-03-05.15:08:01
Thanks, marking wont-fix.
Feel free to open a new bug (or better yet send a patch) if you think the user
manual could stand to talk more about the relationship between changes and diff.
History
Date User Action Args
2009-03-02 08:29:33ertaicreate
2009-03-02 09:45:15koweysetstatus: unread -> unknown
nosy: + darcs-devel
messages: + msg7380
2009-03-02 11:46:16ertaisetnosy: kowey, darcs-devel, simon, thorkilnaur, ertai, dmitry.kurochkin
messages: + msg7381
2009-03-03 20:09:13koweysetnosy: kowey, darcs-devel, simon, thorkilnaur, ertai, dmitry.kurochkin
messages: + msg7393
2009-03-05 13:24:49ertaisetnosy: kowey, darcs-devel, simon, thorkilnaur, ertai, dmitry.kurochkin
messages: + msg7401
2009-03-05 15:08:04koweysetstatus: unknown -> wont-fix
nosy: kowey, darcs-devel, simon, thorkilnaur, ertai, dmitry.kurochkin
messages: + msg7405
2009-08-25 17:41:30adminsetnosy: - simon
2009-08-27 14:15:59adminsetnosy: kowey, darcs-devel, thorkilnaur, ertai, dmitry.kurochkin
2009-10-23 22:40:08adminsetnosy: + nicolas.pouillard, - ertai
2009-10-24 00:05:03adminsetnosy: + ertai, - nicolas.pouillard