Linus Torvalds 4a550e4d7d Properly handle dive sites loaded from XML
We used to always create a new dive site structure when loading dive
site data from XML.

That is completely bogus, because it can (and does) create duplicate
dive sites with the same UUID.  Which makes the whole UUID pointless.

So instead, look up the existing dive site associated with the UUID
loaded from the XML, and try to merge the data properly if we already
had dive site information for that UUID.

Reported-by: Alessandro Volpi <volpial@gmail.com>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
2017-02-19 15:23:46 -08:00
..
2017-02-03 15:01:15 -08:00
2016-09-20 09:26:35 -07:00
2016-08-10 15:08:51 -07:00
2016-11-09 06:33:45 -08:00
2017-02-03 09:35:01 -08:00
2017-02-03 15:01:15 -08:00
2017-01-06 20:43:23 -08:00
2016-04-20 16:00:28 -07:00
2017-01-06 20:43:23 -08:00
2017-01-06 20:43:23 -08:00
2016-04-29 09:07:17 -07:00
2016-04-29 09:07:17 -07:00
2017-02-03 15:04:51 -08:00