darcs

Issue 1318 Darcs get (full) fails when getting from partial repository

Title Darcs get (full) fails when getting from partial repository
Priority bug Status duplicate
Milestone Resolved in
Superseder --partial should be implicit when the source repository is partial
View: 145
Nosy List darcs-devel, dmitry.kurochkin, karel.gardas, kowey, thorkilnaur
Assigned To
Topics Partial

Created on 2009-01-16.09:41:13 by karel.gardas, last changed 2009-10-23.23:59:28 by admin.

Messages
msg7115 (view) Author: karel.gardas Date: 2009-01-16.09:41:10
Hello,

when I try to get the sources from the partial darcs repository, darcs
get fails with this not so user friendly message:

karel@silence:/tmp$ darcs get /export/home/karel/vcs/lambdavm/ ttt
darcs:
/export/home/karel/vcs/lambdavm/_darcs/patches/20061021035829-6295e-23f0c4f64186e2509d70dfd94848be3176f5f0fc.gz:
copyFile: does not exist (No such file or directory)
karel@silence:/tmp$

I think darcs should somehow detect that it tries to perform get from
partial repository and then warn user with clear message like:

"You attempt to perform get from the partial repository which is not
possible. If you still like to get the sources, try to use get --partial
to get partial repository"

or something like that.

Thanks!
Karel
msg7634 (view) Author: kowey Date: 2009-04-09.12:09:29
I could have sworn that this was a duplicate bug.

First question for darcs hackers: is there any easy/cheap way for us to detect
if a repository is a partial one?

Karel: this sounds like something which should be easy to submit a test case for:
http://wiki.darcs.net/index.html/RegressionTests

Could we ask you for one?
msg8188 (view) Author: kowey Date: 2009-08-16.22:25:42
Hi Karel,

This indeed is a duplicate (of issue145).  I'm closing this bug and adding you
there.  Thanks!
History
Date User Action Args
2009-01-16 09:41:14karel.gardascreate
2009-04-09 12:09:33koweysetpriority: bug
nosy: kowey, simon, thorkilnaur, dmitry.kurochkin, karel.gardas
topic: + Partial
status: unread -> unknown
messages: + msg7634
2009-08-16 22:25:44koweysetstatus: unknown -> duplicate
nosy: kowey, simon, thorkilnaur, dmitry.kurochkin, karel.gardas
superseder: + --partial should be implicit when the source repository is partial
messages: + msg8188
2009-08-16 22:31:53koweylinkissue145 superseder
2009-08-25 17:39:21adminsetnosy: + darcs-devel, - simon
2009-08-27 14:24:55adminsetnosy: kowey, darcs-devel, thorkilnaur, dmitry.kurochkin, karel.gardas
2009-10-23 22:36:19adminsetnosy: + kgardas, - karel.gardas
2009-10-23 23:59:28adminsetnosy: + karel.gardas, - kgardas