darcs

Issue 1127 "darcs send --unified" missing since darcs 2

Title "darcs send --unified" missing since darcs 2
Priority bug Status resolved
Milestone Resolved in
Superseder Nosy List darcs-devel, dleuschner, dmitry.kurochkin, kowey, thorkilnaur
Assigned To
Topics

Created on 2008-10-06.15:07:22 by dleuschner, last changed 2009-08-27.14:13:15 by admin.

Messages
msg6245 (view) Author: dleuschner Date: 2008-10-06.15:07:20
With darcs 1 we could send patches with more context which is nice when
reviewing patches using --unified with the darcs send command.  With Darcs 2
this feature was lost.  Would it be simple to add it again?
msg6246 (view) Author: kowey Date: 2008-10-06.15:11:35
Hi David,

On Mon, Oct 06, 2008 at 15:07:23 -0000, David Leuschner wrote:
> With darcs 1 we could send patches with more context which is nice when
> reviewing patches using --unified with the darcs send command.  With Darcs 2
> this feature was lost.  Would it be simple to add it again?

As I understand it, this feature was not lost.  Instead, it has become
the default, which is why the switch no longer exists.

Do you have an example of darcs 2 not showing the surrounding diff
context?

Thanks!
msg6247 (view) Author: dleuschner Date: 2008-10-06.16:30:30
Hi Eric,

> As I understand it, this feature was not lost.  Instead, it has become
> the default, which is why the switch no longer exists.
> 
> Do you have an example of darcs 2 not showing the surrounding diff
> context?

I'm using darcs 2 on my development machine.  The system with the main
repository I'm creating the patch for is running darcs 1.  Might that be
the problem?  I've just created a patch which, as a email, looks like
this:

...
> [-- Attachment #2: A darcs patch for your repository! --]
> [-- Type: text/x-darcs-patch, Encoding: quoted-printable, Size: 94K --]
> Content-Type: text/x-darcs-patch; name="feature_-fixeinsätze.dpatch"
> Content-Transfer-Encoding: quoted-printable
> Content-Description: A darcs patch for your repository!
> 
> 
> New patches:
> 
> [FEATURE: Fixeins?tze
> David Leuschner <david@loisch.de>**20081006144920] {
> hunk ./db/setup-tables.sql 649
> +  fix           BOOLEAN         NOT NULL DEFAULT FALSE,
> hunk ./db/setup-views.sql 112
> +            tpl.fix,
> hunk ./db/setup-views.sql 148
> -            ) AS abw_uebern_durch
> +            ) AS abw_uebern_durch,
> +            tpl1.fix        AS fix
> hunk ./db/setup-views.sql 180
> -            NULL::INTEGER   AS abw_uebern_durch
> +            NULL::INTEGER   AS abw_uebern_durch,

Thank you for your instant response! :-)

      David
msg6248 (view) Author: kowey Date: 2008-10-06.16:34:56
Hi David,

Thanks for the details! I'm adding David Roundy to this because he made
--unified the default and also deferring to Thorkil for further issue managing.

Cheers,
msg6249 (view) Author: droundy Date: 2008-10-06.16:49:48
This is fixed in darcs 2.1pre.

David
msg6250 (view) Author: thorkilnaur Date: 2008-10-06.18:46:13
Thanks everybody. There is still the matter of the description on http://www.darcs.net/manual/node3.html 
under the heading "Submitting patches to darcs" that mentions the -u flag. I'm afraid I don't know where that 
originates (so I won't change the status of this issue), but it would be nice if that were taken care of, it 
actually confused me earlier today.

Thanks and best regards
Thorkil
msg6256 (view) Author: dleuschner Date: 2008-10-07.10:03:03
> This is fixed in darcs 2.1pre.

Thanks!  I'm now using 2.1pre3.

Cheers, David
msg6264 (view) Author: droundy Date: 2008-10-07.15:26:34
On Mon, Oct 06, 2008 at 06:46:15PM -0000, Thorkil Naur wrote:
> Thanks everybody. There is still the matter of the description on
> http://www.darcs.net/manual/node3.html under the heading "Submitting
> patches to darcs" that mentions the -u flag. I'm afraid I don't know
> where that originates (so I won't change the status of this issue),
> but it would be nice if that were taken care of, it actually
> confused me earlier today.

You can use grep to find it.

David
msg6523 (view) Author: thorkilnaur Date: 2008-10-29.18:44:16
Setting as resolved based on the following.

Best regards
Thorkil
On Wednesday 15 October 2008 16:08, David Roundy wrote:
> On Wed, Oct 15, 2008 at 09:59:04AM +0200, Thorkil Naur wrote:
> > Wed Oct 15 09:37:51 CEST 2008  Thorkil Naur <naur@post11.tele.dk>
> >   * fix Submitting patches to darcs with respect to send -u
> 
> Applied, thanks!
> 
> David
> _______________________________________________
> darcs-users mailing list
> darcs-users@darcs.net
> http://lists.osuosl.org/mailman/listinfo/darcs-users
>
History
Date User Action Args
2008-10-06 15:07:22dleuschnercreate
2008-10-06 15:11:37koweysetstatus: unread -> unknown
nosy: kowey, dagit, dleuschner, simon, thorkilnaur, dmitry.kurochkin
messages: + msg6246
2008-10-06 16:30:32dleuschnersetnosy: kowey, dagit, dleuschner, simon, thorkilnaur, dmitry.kurochkin
messages: + msg6247
2008-10-06 16:34:58koweysetnosy: + droundy
messages: + msg6248
2008-10-06 16:49:51droundysetstatus: unknown -> resolved-in-unstable
nosy: droundy, kowey, dagit, dleuschner, simon, thorkilnaur, dmitry.kurochkin
messages: + msg6249
2008-10-06 16:54:22droundysetstatus: resolved-in-unstable -> resolved-in-stable
nosy: droundy, kowey, dagit, dleuschner, simon, thorkilnaur, dmitry.kurochkin
2008-10-06 18:46:15thorkilnaursetnosy: droundy, kowey, dagit, dleuschner, simon, thorkilnaur, dmitry.kurochkin
messages: + msg6250
2008-10-07 10:03:05dleuschnersetnosy: droundy, kowey, dagit, dleuschner, simon, thorkilnaur, dmitry.kurochkin
messages: + msg6256
2008-10-07 15:26:37droundysetnosy: droundy, kowey, dagit, dleuschner, simon, thorkilnaur, dmitry.kurochkin
messages: + msg6264
2008-10-29 18:44:18thorkilnaursetstatus: resolved-in-stable -> resolved
nosy: droundy, kowey, dagit, dleuschner, simon, thorkilnaur, dmitry.kurochkin
messages: + msg6523
2009-08-06 18:01:10adminsetnosy: + markstos, jast, Serware, darcs-devel, zooko, mornfall, tommy, beschmi, - droundy, dleuschner
2009-08-06 21:13:16adminsetnosy: - beschmi
2009-08-10 21:49:35adminsetnosy: + dleuschner, - tommy, markstos, darcs-devel, zooko, jast, Serware, mornfall
2009-08-10 23:47:35adminsetnosy: - dagit
2009-08-25 17:30:21adminsetnosy: + darcs-devel, - simon
2009-08-27 14:13:15adminsetnosy: kowey, darcs-devel, dleuschner, thorkilnaur, dmitry.kurochkin