darcs

Issue 368 pulling only puts first repo arg in _darcs/prefs/repos

Title pulling only puts first repo arg in _darcs/prefs/repos
Priority bug Status resolved
Milestone Resolved in
Superseder Nosy List darcs-devel, dmitry.kurochkin, kowey, thorkilnaur, tommy, trentbuck
Assigned To kowey
Topics

Created on 2006-12-17.03:21:20 by trentbuck, last changed 2009-08-27.14:11:24 by admin.

Messages
msg1332 (view) Author: twb Date: 2006-12-17.03:21:13
When pulling from multiple repos concurrently, only the first repo
listed is added to _darcs/prefs/repos.  The following transcript
demonstrates the issue:

    $ darcs --version
    1.0.9rc1 (release candidate 1)

    $ darcs --exact-version
    darcs compiled on Nov 12 2006, at 05:43:35
    # 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]

    $ mkdir foo bar baz

    $ for i in foo bar baz; do cd $i; darcs init; cd -; done
    /tmp
    /tmp
    /tmp

    $ cd foo

    $ darcs pull ../bar ../baz
    No remote changes to pull in!

    $ cat _darcs/prefs/repos
    ../bar

I contend the last command should instead read:

    $ cat _darcs/prefs/repos
    ../bar
    ../baz
msg1333 (view) Author: droundy Date: 2006-12-17.06:43:05
On Sun, Dec 17, 2006 at 03:21:20AM +0000, Trent Buck wrote:
> When pulling from multiple repos concurrently, only the first repo
> listed is added to _darcs/prefs/repos.  The following transcript
> demonstrates the issue:

Agreed.  This is indeed a bug, and should be fixed.  (And like many other
bugs, I'm leaving it to someone else... it shouldn't be too hard.)
-- 
David Roundy
Department of Physics
Oregon State University
msg1897 (view) Author: kowey Date: 2007-07-23.06:07:42
Resolved in unstable with the following patch.  Thanks!

Tue Jul 17 20:01:27 CEST 2007  Eric Kow <eric.kow@loria.fr>
  * Add all pulled repos to _darcs/prefs/repos (issue368).
History
Date User Action Args
2006-12-17 03:21:20trentbuckcreate
2006-12-17 06:43:06droundysetstatus: unread -> unknown
nosy: droundy, tommy, kowey, trentbuck
messages: + msg1333
2006-12-18 01:08:30jchsetnosy: droundy, tommy, kowey, trentbuck
2007-07-17 12:06:54koweysetnosy: + beschmi
2007-07-23 06:07:42koweysetstatus: unknown -> resolved-in-unstable
messages: + msg1897
2007-07-31 18:01:36koweysetstatus: resolved-in-unstable -> resolved-in-stable
2008-09-16 21:30:41adminsetstatus: resolved-in-stable -> resolved
nosy: + dagit
2009-08-06 17:38:24adminsetnosy: + markstos, jast, Serware, dmitry.kurochkin, darcs-devel, zooko, mornfall, simon, thorkilnaur, - droundy, trentbuck
2009-08-06 20:35:10adminsetnosy: - beschmi
2009-08-10 21:59:44adminsetnosy: + trentbuck, - markstos, darcs-devel, zooko, jast, Serware, mornfall
2009-08-10 23:58:36adminsetnosy: - dagit
2009-08-25 17:52:01adminsetnosy: + darcs-devel, - simon
2009-08-27 14:11:24adminsetnosy: tommy, kowey, darcs-devel, trentbuck, thorkilnaur, dmitry.kurochkin