darcs

Issue 652 push a "partial repo" to an "empty repo" fails

Title push a "partial repo" to an "empty repo" fails
Priority bug Status resolved
Milestone Resolved in
Superseder Nosy List darcs-devel, dmitry.kurochkin, kowey, limare, markstos, thorkilnaur, tommy
Assigned To
Topics

Created on 2008-02-07.17:29:43 by limare, last changed 2009-08-27.14:08:43 by admin.

Messages
msg3188 (view) Author: limare Date: 2008-02-07.17:29:40
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

= Error message =

$ darcs push
Pushing to "youkan:/srv/dev/darcs/megawave-4"...
darcs: bug in darcs!
fromJust error at Push.lhs:136 compiled 13:47:48 Nov 20 2006
Please report this to bugs@darcs.net,
If possible include the output of 'darcs --exact-version'.

= Version =

$ darcs --exact-version
darcs compiled on Nov 20 2006, at 13:48:04
# configured Mon Oct  9 15:12:44 EDT 2006
./configure --no-create --no-recursion

Context:

[TAG 1.0.9rc1
Tommy Pettersson <ptp@lysator.liu.se>**20061008175207]

= What I wanted to do =

* set an empty distant repo
* set an empty local repo
* fill it with the current source
* push it to the server repo
* set an empty distant branch repo
* set a local branch repo from the previous local repo
* push it to the server branch repo

= What I did (IIRC) =

on the distant server:
mkdir megawave-3
cd megawave-3
darcs initialize
cd ..
mkdir megawave-4
cd megawave-4
darcs initialize

locally:
darcs get youkan:/srv/dev/darcs/megawave-3
cd megawave-3
(add the source)
darcs add --recursive ./
darcs record -a
darcs tag --checkpoint
darcs push
cd ..
darcs get --partial megawave-3 megawave-4
(update _darcs/prefs/repos and _darcs/prefs/defaultrepo)
darcs push
(here comes the error)

= My understanding =

I guess the culprit is the --partial option, but from the doc it made
sense for me. So it might a minima be a documentation bug :)

= Context =

First time I start to *really* use darcs, for more than a personal
backup service.

- --
Nicolas LIMARE             labo. j-l lions - univ. pierre et marie curie
limare@ann.jussieu.fr                 http://www.ann.jussieu.fr/~limare/
+33 (0) 144 272 721         175 rue du chevaleret - 75013 paris - france

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)

iD8DBQFHqlotvviFAPpCP08RArLbAKCZ1s82Ho8Tz6axVZcN6rQvtPAA5gCfXL8o
4YG3o7rCdCUUv6YrLeXMoMY=
=YmHf
-----END PGP SIGNATURE-----
msg3196 (view) Author: markstos Date: 2008-02-07.17:33:10
This is resolved in the Darcs unstable branch by using "--lazy" instead of
"--partial", which has space and performance benefits of --partial, but without
the bugs. 

  Mark
History
Date User Action Args
2008-02-07 17:29:43limarecreate
2008-02-07 17:31:19markstoslinkissue653 superseder
2008-02-07 17:33:11markstossetpriority: bug
status: unread -> resolved-in-unstable
messages: + msg3196
nosy: + markstos, limare, - limare
2008-02-07 17:34:11markstoslinkissue657 superseder
2008-02-07 17:34:29markstoslinkissue658 superseder
2008-09-04 21:32:21adminsetstatus: resolved-in-unstable -> resolved
nosy: + dagit
2009-08-06 17:53:27adminsetnosy: + jast, Serware, dmitry.kurochkin, darcs-devel, zooko, mornfall, simon, thorkilnaur, - droundy, limare
2009-08-06 20:56:50adminsetnosy: - beschmi
2009-08-10 22:13:38adminsetnosy: + limare, - darcs-devel, zooko, jast, Serware, mornfall
2009-08-11 00:06:17adminsetnosy: - dagit
2009-08-25 18:04:53adminsetnosy: + darcs-devel, - simon
2009-08-27 14:08:43adminsetnosy: tommy, kowey, markstos, darcs-devel, thorkilnaur, limare, dmitry.kurochkin