[darcs-devel] [issue652] push a "partial repo" to an "empty repo" fails

Nicolas Limare bugs at darcs.net
Thu Feb 7 17:29:43 UTC 2008


New submission from Nicolas Limare <limare at ann.jussieu.fr>:

-----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 at 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 at 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 at 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-----

----------
messages: 3188
nosy: beschmi, droundy, kowey, limare, tommy
status: unread
title: push a "partial repo" to an "empty repo" fails

__________________________________
Darcs bug tracker <bugs at darcs.net>
<http://bugs.darcs.net/issue652>
__________________________________


More information about the darcs-devel mailing list