[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: moving files between modules and preserving the history

From: Paul Sander
Subject: Re: moving files between modules and preserving the history
Date: Sat, 9 Sep 2006 12:59:52 -0700

Moving files and directories around in the repository does NOT preserve the history of the shape of the source tree. I believe this is mentioned in the documentation somewhere.

If you want to relocate entire directory trees, then you can encode the proper shape of the tree in the modules database, but you must create a new entry every time you reorganize. You must also use an ad-hoc name-based versioning system for the entries to preserve reproducibility.

Note that this does not work if you want to direct individual files to new directories, and there's a limit to how much you can do this before the mechanism becomes too unwieldy.

Another method that has been advocated in the past is to re-import all your sources into a new directory in the repository, after having reorganized them externally. This method has its own problems, including the fragmentation of version history and faster consumption of disk space.

On Sep 9, 2006, at 12:12 PM, Brocha Strous wrote:

I want to move entire sub-directories from one module to another but
preserve the histories. I thought that moving the files/directories on
the server should work but but when I try to check out the destination
module the moved directory does not get checked out.
Paul Sander       | "When a true genius appears in the world, you may
address@hidden | know him by this sign:  that all the dunces are in
| confederacy against him." -- Jonathan Swift, writer.

reply via email to

[Prev in Thread] Current Thread [Next in Thread]