Created on 2006-09-29.15:44:17 by simonpj, last changed 2009-08-27.13:48:43 by admin.
msg1014 (view) |
Author: simonpj |
Date: 2006-09-29.15:44:11 |
|
Dear Darcsers
while I'm giving you trouble, I was surprised when
darcs unrecord -p 'f'
showed me patches *not* beginning with "f".
Incidentally, darcs check is happy; and I'm using version 1.0.8
Simon
sh-2.04$ darcs unrecord -p 'f'
Fri Sep 29 16:14:15 GMT Daylight Time 2006 simonpj@microsoft.com
* f
Shall I unrecord this patch? (1/?) [ynWvpxqadjkc], or ? for help: y
Fri Sep 29 15:39:10 GMT Daylight Time 2006 simonpj@microsoft.com
* Global renamings in HsSyn
Shall I unrecord this patch? (2/?) [ynWvpxqadjkc], or ? for help: n
Fri Sep 29 14:35:49 GMT Daylight Time 2006 simonpj@microsoft.com
* Improve pretty-printing of Core
Shall I unrecord this patch? (3/?) [ynWvpxqadjkc], or ? for help: ?
How to use unrecord...
y: unrecord this patch
n: don't unrecord it
w: wait and decide later, defaulting to no
|
msg1015 (view) |
Author: edwint |
Date: 2006-09-29.15:59:11 |
|
simonpj wrote:
> Dear Darcsers
>
> while I'm giving you trouble, I was surprised when
>
> darcs unrecord -p 'f'
>
> showed me patches *not* beginning with "f".
I think there's two things going on here:
1. 'f' matches all patches with names containing f, not just names
beginning with f
2. darcs will also ask you about any patches that depend on a matched patch.
Edwin
|
msg1017 (view) |
Author: tommy |
Date: 2006-09-29.16:13:26 |
|
On Fri, Sep 29, 2006 at 03:59:16PM +0000, Edwin wrote:
> simonpj wrote:
> > darcs unrecord -p 'f'
> >
> > showed me patches *not* beginning with "f".
>
> 1. 'f' matches all patches with names containing f, not just names
> beginning with f
To be precise, darcs matches the regexp "f" against the names of
all patch after the last inventory break.
darcs unrecord -p '^f'
will choose patches beginning with f.
darcs unrecord --from-<something>=<regexp> -p <regexp>
can go further back than the last inventory break.
Users are not supposed to know what "last inventory break" is.
It is for performance reasons darcs "have" to do this cut-off.
It is not likely that one wants to remove patches that are
taged, and the inventory break is always a tag.
Regexps will enter into most darcs users' lives at some point
though.
|
|
Date |
User |
Action |
Args |
2006-09-29 15:44:17 | simonpj | create | |
2006-09-29 15:59:16 | edwint | set | status: unread -> unknown nosy:
+ edwint messages:
+ msg1015 |
2006-09-29 16:13:33 | tommy | set | nosy:
droundy, tommy, kowey, edwint, simonpj messages:
+ msg1017 |
2007-03-10 07:53:14 | kowey | set | status: unknown -> resolved topic:
+ FauxBug nosy:
+ beschmi |
2009-08-06 17:46:23 | admin | set | nosy:
+ markstos, jast, Serware, dmitry.kurochkin, darcs-devel, zooko, dagit, mornfall, simon, thorkilnaur, - droundy, edwint, simonpj |
2009-08-06 20:42:03 | admin | set | nosy:
- beschmi |
2009-08-10 21:56:03 | admin | set | nosy:
+ edwint, simonpj, - markstos, darcs-devel, zooko, jast, dagit, Serware, mornfall |
2009-08-25 17:58:10 | admin | set | nosy:
+ darcs-devel, - simon |
2009-08-27 13:48:43 | admin | set | nosy:
tommy, kowey, darcs-devel, edwint, simonpj, thorkilnaur, dmitry.kurochkin |
|