darcs

Issue 169 Bug in 1.0.7 (release)

Title Bug in 1.0.7 (release)
Priority bug Status resolved
Milestone Resolved in
Superseder Nosy List bfr, darcs-devel, darcs-users, dmitry.kurochkin, jch, kowey, lele, thorkilnaur, tommy
Assigned To
Topics

Created on 2006-05-15.13:08:39 by lele, last changed 2009-10-23.23:46:03 by admin.

Messages
msg649 (view) Author: lele Date: 2006-05-15.13:08:36
Benjamin Franksen wrote:
> Hi,
> 
> this happened when I tried to pull on a repo that was never pulled 
> before, and also not created with 'darcs get':
> 
> aragon: .../BII-Controls/head > darcs pull 
> darcs: bug in darcs!
> Impossible case at Pull.lhs:194 compiled 10:17:51 May 15 2006

A quick test reveals that this may be caused by the fact that darcs does 
not know from where to pull patches:

$ cd /tmp
$ darcs get ~/wip/myproject
Copying patch 67 of 67... done!
Finished getting.
$ cd myproject
$ rm _darcs/prefs/defaultrepo
$ darcs pull
darcs: bug in darcs!
Impossible case at Pull.lhs:194 compiled 10:31:12 Apr 28 2006
$ darcs pull ~/wip/myproject
Pulling from "/home/lele/wip/myproject/"...
No remote changes to pull in!
$ darcs pull
Pulling from "/home/lele/wip/myproject/"...
No remote changes to pull in!

So, specifying the repository to the "pull" command once (or either with 
"--set-default" or writing it in the _darcs/prefs/defaultrepo if you 
have a system wide "--no-set-default" configuration) fixes the problem.

ciao, lele.
msg650 (view) Author: jch Date: 2006-05-15.14:23:28
I've applied your patch, Lele, for which thanks.
msg709 (view) Author: tommy Date: 2006-06-21.10:39:59
fixed in 1.0.8
History
Date User Action Args
2006-05-15 13:08:39lelecreate
2006-05-15 14:23:30jchsetstatus: unread -> unknown
nosy: + jch
messages: + msg650
2006-05-15 14:23:41jchsetstatus: unknown -> resolved-in-unstable
nosy: darcs-users, droundy, jch, tommy, lele, benjamin.franksen
2006-06-21 10:40:02tommysetstatus: resolved-in-unstable -> resolved
nosy: darcs-users, droundy, jch, tommy, lele, benjamin.franksen
messages: + msg709
2009-08-06 17:51:10adminsetnosy: + markstos, jast, Serware, dmitry.kurochkin, darcs-devel, zooko, dagit, mornfall, simon, kowey, beschmi, thorkilnaur, - darcs-users, droundy, jch, lele, benjamin.franksen
2009-08-06 20:49:46adminsetnosy: - beschmi
2009-08-10 21:51:39adminsetnosy: + lele, darcs-users, jch, benjamin.franksen, - markstos, darcs-devel, zooko, jast, dagit, Serware, mornfall
2009-08-25 18:02:32adminsetnosy: + darcs-devel, - simon
2009-08-27 13:47:28adminsetnosy: darcs-users, jch, tommy, kowey, darcs-devel, lele, benjamin.franksen, thorkilnaur, dmitry.kurochkin
2009-10-23 23:46:03adminsetnosy: + bfr, - benjamin.franksen