Login | Register
My pages Projects Community openCollabNet

Discussions > dev > Re: migration script 1.2

fsvs
Discussion topic

Back to topic list

Re: migration script 1.2

Author pmarek
Full name P.Marek
Date 2008-12-12 09:22:31 PST
Message Hello Gunnar!

On Thursday 11 December 2008 Gunnar Thielebein wrote:
> one question.
I see at least two :-)

> When I have a folder like in your example:
> > No - the next version will have a per-WC prefix in the WAA structure, so
> > it will be
> > /var/spool/6666/66/66/..../
> > Other files will be like this:
> > MD5(/etc/services) = cdd8f7859d9a2306f50d​599fd2a26edf
> > /var/spool/6666/cd/d​8/f7859d9a2306f50d59​9fd2a26edf/
>
> Do i need too check if cdd8f7859d9a2306f50d​599fd2a26edf (/etc/services)
> is an folder under control of the working copy
> 6666cd76f96956469e7b​e39d750cc710 (/) ? If yes, I dont know how to do
> determine pathname of e.g. cd/d8/f7859d9a2306f5​0d599fd2a26edf .
You can't - directly.
That's why I said to do a "status -v $WC", so you'll get all (known) entries
of the WC; then you "simply" (;-) do an MD5 of all of them, so you'll see
which path belongs to which MD5 hash.

> Do all relevant files (also for subfolders) lay in the WAA_PATH of
> current WC? If yes ignore previous question.
Yes; but if there are two WCs on a machine, the files should be sorted to the
corresponding WC-specific WAA-paths.

> For my approach I have left this out. Also left out usage of fsvs.
> Have a look at the script, I have echoed all relevant parts out so this
> is save to try. I left out cleanup this should be another step after
> migration is finished.
I'll take a look.

Thank you very much in advance!


Regards,

Phil

--
Versioning your /etc, /home or even your whole installation?
             Try fsvs (fsvs.tigris.org)!

« Previous message in topic | 6 of 17 | Next message in topic »

Messages

Show all messages in topic

migration script 1.2 tekknokra Gunnar Thielebein 2008-12-08 05:10:06 PST
     Re: migration script 1.2 pmarek P.Marek 2008-12-08 05:38:30 PST
     Re: migration script 1.2 pmarek P.Marek 2008-12-10 23:32:20 PST
         Re: migration script 1.2 tekknokra Gunnar Thielebein 2008-12-11 02:34:13 PST
         Re: migration script 1.2 tekknokra Gunnar Thielebein 2008-12-11 10:22:07 PST
             Re: migration script 1.2 pmarek P.Marek 2008-12-12 09:22:31 PST
                 Re: migration script 1.2 pmarek P.Marek 2008-12-12 11:09:11 PST
                     Re: migration script 1.2 pmarek P.Marek 2008-12-12 11:10:20 PST
                     Re: migration script 1.2 tekknokra Gunnar Thielebein 2008-12-13 05:30:29 PST
                         Re: migration script 1.2 pmarek P.Marek 2008-12-13 11:12:16 PST
                             Re: migration script 1.2 tekknokra Gunnar Thielebein 2009-01-08 09:23:04 PST
                                 Re: migration script 1.2 pmarek P.Marek 2009-01-09 09:46:27 PST
                                     Re: migration script 1.2 pmarek P.Marek 2009-02-08 01:05:41 PST
                                         Re: migration script 1.2 tekknokra Gunnar Thielebein 2009-02-08 04:03:36 PST
                                             Re: migration script 1.2 pmarek P.Marek 2009-02-08 05:08:02 PST
                                                 Re: migration script 1.2 tekknokra Gunnar Thielebein 2009-02-09 04:27:56 PST
     Re: migration script 1.2 pmarek P.Marek 2009-02-09 09:25:50 PST
Messages per page: