Created on 2008-01-23.04:45:11 by zooko, last changed 2009-08-27.13:53:36 by admin.
msg2674 (view) |
Author: zooko |
Date: 2008-01-23.04:45:09 |
|
Folks:
I ran "darcs get --help" and it suggested that I could use the option
"--darcs-2" to make the resulting repo be in the latest and greatest
format.
So I ran "darcs get --debug-verbose --verbose --darcs-2 tahoe tahoe-
darcs-2" on my Mac, and it took a long time and then said that it had
succeeded. Then I ran the same command-line on my Windows laptop,
and it said "darcs failed: Incompatibility with repository BLAHBLAH:
CAnnot mix darcs-2 repositories with older formats.".
So the I explored _darcs on my Mac and found that tahoe-darcs-2/
_darcs/format contains "darcs-1.0".
Then I looked at the wiki and it said that to convert from old to new
I should run "darcs convert oldrepository newrepository".
So now I'm pretty confused. Maybe the "--darcs-2" option to the
"get" command shouldn't exist at all?
Regards,
Zooko
|
msg2677 (view) |
Author: droundy |
Date: 2008-01-23.11:31:46 |
|
Yes, I think your final conclusion that get shouldn't have a --darcs-2 option is
correct.
David
|
msg2707 (view) |
Author: markstos |
Date: 2008-01-24.02:14:58 |
|
> Yes, I think your final conclusion that get shouldn't have a --darcs-2 option is
> correct.
Has the opposite been considered: Removing "darcs convert" in favor "darcs get
--darcs2" ? Since "darcs convert" doesn't do an in-place change, it essentially
the same as "darcs get" in some ways. I see arguments for either direction.
|
msg2710 (view) |
Author: zooko |
Date: 2008-01-24.02:31:43 |
|
>> Yes, I think your final conclusion that get shouldn't have a --
>> darcs-2 option is
>> correct.
>
> Has the opposite been considered: Removing "darcs convert" in favor
> "darcs get
> --darcs2" ? Since "darcs convert" doesn't do an in-place change, it
> essentially
> the same as "darcs get" in some ways. I see arguments for either
> direction.
I would vote for "darcs get --darcs-2" instead of "darcs convert",
but either one would be okay with me.
--Z
|
msg2715 (view) |
Author: tommy |
Date: 2008-01-24.08:44:39 |
|
> Has the opposite been considered: Removing "darcs convert" in favor "darcs get
> --darcs2" ? Since "darcs convert" doesn't do an in-place change, it essentially
> the same as "darcs get" in some ways. I see arguments for either direction.
I have an argument against. A darcs-1 -> darcs-2 conversion must
be done once and only once. Darcs users are used to "darcs get"
and "rm -rf" darcs repos all the time, and someone will at some
point get confused, or worse, because if you "get --darcs-2 foo"
twice (from two different copies of foo, or reorder foo in
between) you will get two unbased darcs-2 repos.
|
msg2932 (view) |
Author: droundy |
Date: 2008-01-30.21:43:01 |
|
I'm pushing a fix for this which removes the --darcs-2 flag from get. I think
that the issue of convert being something that must be used only once for a
given repository group is confusing enough I'd like to avoid making it easy to
mistakenly convert repositories.
|
|
Date |
User |
Action |
Args |
2008-01-23 04:45:11 | zooko | create | |
2008-01-23 11:31:47 | droundy | set | priority: bug nosy:
droundy, tommy, beschmi, kowey, zooko status: unread -> unknown messages:
+ msg2677 |
2008-01-23 15:24:14 | droundy | link | issue607 superseder |
2008-01-24 02:15:00 | markstos | set | nosy:
+ markstos messages:
+ msg2707 |
2008-01-24 02:31:44 | zooko | set | nosy:
droundy, tommy, beschmi, kowey, markstos, zooko messages:
+ msg2710 |
2008-01-24 08:44:41 | tommy | set | nosy:
droundy, tommy, beschmi, kowey, markstos, zooko messages:
+ msg2715 |
2008-01-30 21:43:03 | droundy | set | status: unknown -> resolved nosy:
droundy, tommy, beschmi, kowey, markstos, zooko messages:
+ msg2932 |
2009-08-06 17:52:06 | admin | set | nosy:
+ jast, Serware, dmitry.kurochkin, darcs-devel, dagit, mornfall, simon, thorkilnaur, - droundy |
2009-08-06 20:55:01 | admin | set | nosy:
- beschmi |
2009-08-10 22:11:32 | admin | set | nosy:
- darcs-devel, jast, dagit, Serware, mornfall |
2009-08-25 18:03:34 | admin | set | nosy:
+ darcs-devel, - simon |
2009-08-27 13:53:36 | admin | set | nosy:
tommy, kowey, markstos, darcs-devel, zooko, thorkilnaur, dmitry.kurochkin |
|