darcs

Issue 657 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 push a "partial repo" to an "empty repo" fails
View: 652
Nosy List darcs-devel, dmitry.kurochkin, kowey, limare, markstos, thorkilnaur, tommy
Assigned To
Topics

Created on 2008-02-07.17:29:46 by limare, last changed 2009-08-27.13:54:23 by admin.

Messages
msg3192 (view) Author: limare Date: 2008-02-07.17:29:44
-----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)

iD8DBQFHqyhsvviFAPpCP08RAkFDAKC2E9x7p670Jvz7dIq4NTMB8iww0gCffX4O
nLElEpVzzSajGhnEqRSx8DY=
=yZwf
-----END PGP SIGNATURE-----
msg3197 (view) Author: markstos Date: 2008-02-07.17:34:10
Dupe.
History
Date User Action Args
2008-02-07 17:29:46limarecreate
2008-02-07 17:34:11markstossetpriority: bug
status: unread -> resolved
superseder: + push a "partial repo" to an "empty repo" fails
messages: + msg3197
nosy: + markstos, limare, - limare
2009-08-06 17:53:36adminsetnosy: + jast, Serware, dmitry.kurochkin, darcs-devel, zooko, dagit, mornfall, simon, thorkilnaur, - droundy, limare
2009-08-06 20:57:01adminsetnosy: - beschmi
2009-08-10 22:13:50adminsetnosy: + limare, - darcs-devel, zooko, jast, dagit, Serware, mornfall
2009-08-25 18:05:02adminsetnosy: + darcs-devel, - simon
2009-08-27 13:54:23adminsetnosy: tommy, kowey, markstos, darcs-devel, thorkilnaur, limare, dmitry.kurochkin