Dive Site Duplicates [was Re: Dive site management on daily build 4.4.2.669]

Davide DB dbdavide at gmail.com
Tue Jun 16 09:03:52 PDT 2015


On Mon, Jun 15, 2015 at 3:32 PM, Dirk Hohndel <dirk at hohndel.org> wrote:
> On Mon, Jun 15, 2015 at 03:27:01PM +0200, Davide DB wrote:
>> On Mon, Jun 15, 2015 at 3:20 PM, Dirk Hohndel <dirk at hohndel.org> wrote:
>> >
>> > Yes, please. I'd really appreciate this. Subsurface should have created a
>> > V2 backup file when you did the conversion.
>>
>> I'm full of logbook files on my box.
>> Unfortunately, in a moment of euphoria,  I added my last ten dives
>> only to V3 logbook, so now I'm forced to stick with it until fixed :)
>
> No, it's easy. Export those last ten dives to their own XML file.

Export of my last ten dives, will create a V3 xml type.

> Then open the V2 file again to get the latest importer.

Ok

> Now import the 10 dives.

One of them has the same name as another one already present and they
were duplicated.
One with GPS fix and another without GPS fix.
I'm afraid of that merging two V3 files will result in another use case :-/


> Save the result under a new name. Run diff against the two files to see
> what changed :-)
>

Did you change the UUID algorithm?

Comparing the two files I found same dives with different UUID's
Hummm maybe I'm doing something stupid here.

<dive number='9' rating='3' visibility='2' tags='boat, oc, reef,
wreck' divesiteid='55f8ce21' date='2011-05-22' time='15:50:00'
duration='84:00 min'>
<dive number='9' rating='3' visibility='2' tags='boat, oc, reef,
wreck' divesiteid='59a1f629' date='2011-05-22' time='15:50:00'
duration='84:00 min'>


More information about the subsurface mailing list