[dokuwiki] Re: Avoiding "external edit"
- From: Michael Klier <chi@xxxxxxxxxxx>
- To: dokuwiki@xxxxxxxxxxxxx
- Date: Thu, 26 Jun 2008 13:33:57 +0200
On Thu, Jun 26, 2008 at 12:18:30PM +0200, Jan Decaluwe wrote:
> Michael Klier wrote:
> >On Tue, Jun 24, 2008 at 01:22:34PM +0200, Jan Decaluwe wrote:
> >>I'm moving my dokuwiki's to a different host. I'd like
> >>to preserve the whole history.
> >>
> >>To move the data, I use tar/untar of the data directory.
> >>This seems to work well, except for one thing. The author
> >>history of pages is preserved, except for the current
> >>version: there it says "external edit".
> >>
> >>Is there something I can do to avoid this?
> >
> >This is related to that the timestamps of the the untared files have
> >changed.
> >
> >DokuWiki checks if the timestamp of a file is newer than the current
> >version
> >in the attic, and if that's the case it assumes the file was edited
> >outside of
> >DokuWiki, hence that an external edit occured.
> >
> >To ommit that you have to make sure that the timestamps of the files are
> >presevered when moving the data.
>
> Mm. My untarring on the new host actually seems to make current pages a
> little *older* (as reported by the "Old revisions") than the timestamps in
> the attic. Your explanation suggests that this would be OK, but that's not
> what I see.
>
> I guess the timestamps / modification times have to be exactly right.
Yes, any difference from the last version makes DW think an external edit
occured.
Chi
--
Michael Klier
www: http://www.chimeric.de
jabber: chi@xxxxxxxxxxxxxxxxxx
key: http://downloads.chimeric.de/chi.asc
key-id: 0x8308F551
- Follow-Ups:
- [dokuwiki] Re: Avoiding "external edit"
- From: Jan Decaluwe
- References:
- [dokuwiki] Avoiding "external edit"
- From: Jan Decaluwe
- [dokuwiki] Re: Avoiding "external edit"
- From: Michael Klier
- [dokuwiki] Re: Avoiding "external edit"
- From: Jan Decaluwe
Other related posts:
- » [dokuwiki] Avoiding "external edit"
- » [dokuwiki] Re: Avoiding "external edit"
- » [dokuwiki] Re: Avoiding "external edit"
- » [dokuwiki] Re: Avoiding "external edit"
- » [dokuwiki] Re: Avoiding "external edit"
- » [dokuwiki] Re: Avoiding "external edit"
- » [dokuwiki] Re: Avoiding "external edit"
- » [dokuwiki] Re: Avoiding "external edit"
- » [dokuwiki] Re: Avoiding "external edit"
- » [dokuwiki] Re: Avoiding "external edit"
- [dokuwiki] Re: Avoiding "external edit"
- From: Jan Decaluwe
- [dokuwiki] Avoiding "external edit"
- From: Jan Decaluwe
- [dokuwiki] Re: Avoiding "external edit"
- From: Michael Klier
- [dokuwiki] Re: Avoiding "external edit"
- From: Jan Decaluwe