darcs

Issue 217 Confusing error message when pulling from partial repo

Title Confusing error message when pulling from partial repo
Priority bug Status resolved
Milestone Resolved in
Superseder --partial should be implicit when the source repository is partial
View: 145
Nosy List darcs-devel, dmitry.kurochkin, kowey, markstos, simonpj, thorkilnaur, tommy
Assigned To
Topics Partial

Created on 2006-07-06.09:32:09 by simonpj, last changed 2009-08-27.14:04:47 by admin.

Messages
msg783 (view) Author: simonpj Date: 2006-07-06.09:32:06
Darcs gives a deeply confusing error message if you do a non-partial get
from a repository that is itself gotten with --partial.

Here's the setup
	Z:/darcs/fc-branch-2  was gotten with --partial from
http://darcs.haskell.org

Now look at this:

sh-2.04$ darcs get z:/darcs/fc-branch-2 --repo-name fc2
Copying patch 232 of 14125...darcs.exe:
z:/darcs/fc-branch-2/_darcs/patches/20060407123745-26c35-9cc93f704b57914
7046533f0ed6a8c5ba3a03579.gz: openBinaryFile: does not exist (No such
file or directory)

Note the strange message!

Try again with --partial, it's ok

sh-2.04$ rm -rf fc2
sh-2.04$ darcs get --partial z:/darcs/fc-branch-2 --repo-name fc2
Copying patch 231 of 231... done!

Simon
msg2414 (view) Author: markstos Date: 2008-01-10.21:36:59
Resolved in unstable. Switch to darcs 2 and the hashed or darcs-2 formats to
avoid the issue.
History
Date User Action Args
2006-07-06 09:32:09simonpjcreate
2006-07-13 18:25:49jchsetnosy: droundy, tommy, simonpj
title: Confusing error message -> Confusing error message when pulling from partial repo
2007-01-07 16:10:23marcotlinkissue145 superseder
2007-01-07 16:10:31marcotsetnosy: + kowey, beschmi
superseder: + --partial should be implicit when the source repository is partial
2007-03-08 11:28:57koweyunlinkissue145 superseder
2007-07-23 13:53:30koweysettopic: + Partial
nosy: droundy, tommy, beschmi, kowey, simonpj
2008-01-10 21:37:01markstossetstatus: unread -> resolved-in-unstable
nosy: + markstos
messages: + msg2414
2008-09-04 21:28:49adminsetstatus: resolved-in-unstable -> resolved
nosy: + dagit
2009-08-06 17:49:40adminsetnosy: + jast, Serware, dmitry.kurochkin, darcs-devel, zooko, mornfall, simon, thorkilnaur, - droundy, simonpj
2009-08-06 20:50:53adminsetnosy: - beschmi
2009-08-10 21:53:26adminsetnosy: + simonpj, - darcs-devel, zooko, jast, Serware, mornfall
2009-08-10 23:54:59adminsetnosy: - dagit
2009-08-25 18:01:20adminsetnosy: + darcs-devel, - simon
2009-08-27 14:04:47adminsetnosy: tommy, kowey, markstos, darcs-devel, simonpj, thorkilnaur, dmitry.kurochkin