RE: Subversion dump/load - author
From: Tom Sorensen <tsorense_at_co.jefferson.co.us>
Date: Tue, 13 Sep 2016 14:45:27 +0000
Hi -
Thank you for returning my email. To answer your question in the first sentence, yes, I am talking about the files within the repository tree. Let me first explain that the current repository is
Below is an example of the TortoiseSVN repository display header.
File Extension Revision Author Size Date
When I create the dump file, I do so by directly logging into the Linux machine. From the command line, I do the following;
The prod1.dump file is create and I have a sys admin copy it to the Windows machine. I create an empty repository on the Windows machine using subversion edge(collabnet) administration console. I then perform the svnadmin load command. (I don't remember the exact syntax but I use force uuid). The load is successful and when I open the repository using TortoiseSVN on the Windows machine, all of the Author's names, in all the folders and sub folders, in all revisions are the same, such as bsmith. Each time I do this, the Author's name will change, but the effect is the same. All of the Author's names in all of the directories and sub directories contain the same name. I'd like to keep the Author's names as they are displayed in the repository before the move.
Note:
At one time I had used a repository that was on a dev box, one that I used for experimentation. I was able to load the entire repository without having to do the latest revision. Everything
Thank You
From: David Chapman [mailto:dcchapman_at_acm.org]
On 9/12/2016 7:12 AM, Tom Sorensen wrote:
I am a self taught Subversion administrator. I hope I am posting to the correct place. I am moving a subversion repository from Linux to Windows.
I have reviewed the subversion website, but haven't seen anything on this. Can you help?
Are you asking about files within the repository directory tree on the server, e.g. revision files? It is typical for them to be created by a server process and thus be owned by the user ID for that process. I host my repositories on Linux using the "http://"<http://> access method, and all files within the repository have the user ID "apache". The user IDs of the committing developers are stored within the repository data structures for each revision, so I can still determine who committed each revision. If I loaded a dump file under Windows, I'd expect all revisions to be created with my user ID, not "apache". (I don't have multiple accounts on my Windows machines, so I can't test this.)
If you were using the "file://"<file:///\\> method for repository access then I can see how individual revisions would be owned by the committing developers, but this is not the recommended method of hosting a multi-user Subversion repository. If you were not using the "file://"<file:///\\> method, I'd tend to look at ownership of repository files by different user IDs as a bug, or at best a quirk - not the expected or "only correct" result.
If I misunderstood your question please list the files which have surprising ownership.
-- David Chapman dcchapman_at_acm.org<mailto:dcchapman_at_acm.org> Chapman Consulting -- San Jose, CA Software Development Done Right. www.chapman-consulting-sj.com<http://www.chapman-consulting-sj.com>Received on 2016-09-13 16:45:45 CEST |
This is an archived mail posted to the Subversion Users mailing list.
This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.