On Sep 17, 2007, at 5:29 PM, BOUSQUET Jeremie wrote:

Ok,

 

Thanks Vincent, the best was to test it ! J (and it’s what you said)

 

So :

-          without “with history” option selected : local page history is overwritten, new page version is imported page current version (for example “1.16”, but without previous versions)

-          with “with history” option selected : local page history is overwritten, new page version is “1.1”

 

To facilitate migrations, I think the ideal option would be “add imported page version on top of local page version”, just as if importing an existing page would be a modification of this page.

This way, it would be possible very easily to:

-          compare page before and after .xar import

-          rollback a page to previous state (without having to reimport a previously exported .xar on top of it …)

 

What do you think ?


We all definitely agree I think. We just need someone to implement it ;)

See http://jira.xwiki.org/jira/browse/XWIKI-831

Thanks
-Vincent

From: users-bounces@xwiki.org [mailto:users-bounces@xwiki.org] On Behalf Of Vincent Massol
Sent: lundi 17 septembre 2007 16:10
To: XWiki Users
Subject: Re: [xwiki-users] [1.1] "With history" import option

 

 

On Sep 17, 2007, at 3:58 PM, BOUSQUET Jeremie wrote:



Hello,

 

I would like to know how the option “with history” in the import tool should be understood ?

 

Does it mean :

-          history of existing pages will be preserved (new revision added for last revision of imported page)

 

No

-          history of imported pages will be preserved and replace local pages history

 

Yes

-          history of imported pages will be preserved as well as local pages history (concatenation)

No

 

At least that's what I understand (haven't checked it). 

 

Ludovic, can you confirm?

 I added a line for this in the admin guide, but need to detail the exact way it works (btw I need to be sure of how it works before importing pages in my own wiki ;-) )

http://www.xwiki.org/xwiki/bin/view/AdminGuide/ImportExport

 

Thanks

-Vincent