[darcs-users] Something strange with addfile and pending??

Tommy Pettersson ptp at lysator.liu.se
Sat Jul 17 14:34:50 UTC 2004


I found one way to reliably reproduce this:

| $ mkdir a b
| $ cd a
| a$ darcs init
| Successfully initialized repository!
| a$ echo foo > f
| a$ darcs add f
| a$ darcs rec -a
| What is the patch name? f
| Do you want to add a long comment? [yn] n
| Finished recording patch 'f'
| a$ cd ../b
| b$ darcs init
| Successfully initialized repository!
| b$ darcs pull ../a
| 
| Sat Jul 17 16:26:28 CEST 2004  m
|   * f
| Shall I pull this patch? (1/1) [ynWvxqdjk?] y
| So far so good... finished merging.
| Finished pulling.
| b$ darcs what
| No changes!
| b$ cat _darcs/patches/pending
| cat: _darcs/patches/pending: No such file or directory
| b$ darcs unpull
| 
| Sat Jul 17 16:26:28 CEST 2004  m
|   * f
| Shall I unpull this patch? [yNvq?] y
| Finished unpulling.
| b$ darcs what
| No changes!
| b$ cat _darcs/patches/pending
| {
| }
| b$ darcs pull
| Pulling from ../a...
| 
| Sat Jul 17 16:26:28 CEST 2004  m
|   * f
| Shall I pull this patch? (1/1) [ynWvxqdjk?] y
| So far so good... finished merging.
| Finished pulling.
| b$ darcs what
| {
| hunk ./f 1
| -foo
| hunk ./f 1
| +foo
| }
| b$ cat _darcs/patches/pending
| hunk ./f 1
| -foo
| b$ 

There are likely other ways, because I am sure I did never
unpull anything from my upstream darcs copy.


-- 
Tommy Pettersson <ptp at lysator.liu.se>




More information about the darcs-users mailing list