|  | 
 | 
Created on 2009-08-28.16:16:35 by kowey, last changed 2010-06-15.21:30:51 by admin. 
 
  
   | msg8574 (view) | Author: kowey | Date: 2009-08-28.16:16:25 |  |  
   | Darcs should provide an in-place upgrade-to-hashed mechanism.
Right now, the workaround is
 darcs get --hashed old tmpnew
 mv old/_darcs/prefs/defaults tmpnew/_darcs/prefs
 rm -rf old/_darcs
 mv tmpnew/_darcs old
We could also recycle optimize --modernize for this |  
   | msg8607 (view) | Author: mornfall | Date: 2009-08-30.18:34:12 |  |  
   | Check out darcs optimize --pristine which is available in darcs-hs. This should
(with light adaptations) cover the pristine part of optimize --hashed. You
still need to fix the patches of course. |  
   | msg8611 (view) | Author: kowey | Date: 2009-08-31.08:02:31 |  |  
   | On Sun, Aug 30, 2009 at 18:34:21 +0000, Petr Ročkai wrote:
> Check out darcs optimize --pristine which is available in darcs-hs. This should
> (with light adaptations) cover the pristine part of optimize --hashed. You
> still need to fix the patches of course.
That's funny.  I was working on this at #hac7 and got as far as (a)
doing darcs check to watch for pristine corruption and (b) converting
the patches and inventory, but I still for the life of me couldn't
figure out how to (C) convert pristine.
TODO: (D) fix the format and misc junk (E) perhaps get rid of
old-fashioned crap.
So I'll have a look at optimize --pristine
Should this all be merged into a single
'upgrade-to-latest-hashed-format' type command? |  
   | msg8864 (view) | Author: kowey | Date: 2009-09-24.07:10:23 |  |  
   | Resolved by
Tue Sep 22 22:11:49 CEST 2009  Eric Kow <kowey@darcs.net>
  * Resolve issue1584: Provide optimize --upgrade command.
  This can be used for an inplace upgrade to the latest hashed format.
  Right now it only handles old-fashioned => hashed, but there may be
  future format changes for which this can be reused.
But have a look at issue1625 |  |
 
| Date | User | Action | Args |  | 2009-08-28 16:16:35 | kowey | create |  |  | 2009-08-28 18:01:57 | kowey | link | issue1583 superseder |  | 2009-08-30 18:34:21 | mornfall | set | nosy:
  + mornfall messages:
  + msg8607
 |  | 2009-08-31 07:59:55 | kowey | set | status: unknown -> has-patch nosy:
  kowey, darcs-devel, duncan.coutts, jaredj, dmitry.kurochkin, mornfall
 assignedto: kowey
 |  | 2009-08-31 08:02:35 | kowey | set | nosy:
  kowey, darcs-devel, duncan.coutts, jaredj, dmitry.kurochkin, mornfall messages:
  + msg8611
 |  | 2009-09-04 09:09:04 | kowey | set | nosy:
  kowey, darcs-devel, duncan.coutts, jaredj, dmitry.kurochkin, mornfall title: optimize --hashed -> optimize --upgrade
 |  | 2009-09-24 07:10:35 | kowey | set | status: has-patch -> resolved nosy:
  kowey, darcs-devel, duncan.coutts, jaredj, dmitry.kurochkin, mornfall
 messages:
  + msg8864
 |  | 2009-10-24 00:31:37 | admin | set | nosy:
  + duncan, - duncan.coutts |  | 2010-06-15 21:30:48 | admin | set | milestone: 2.4.x |  | 2010-06-15 21:30:51 | admin | set | topic:
  - Target-2.4 | 
 |