perm 2600 wrote:
> My initial mistake was to attempt to create the Working Copy on the same
> directory where the original data lives. My problem was solved by
> creating a temp directory and creating the Working Copy in it leaving
> the original data untouched. Does this sound right?
Yes, and remember that the original data remains unversioned and you
should probably stop using it.
> Then I added text to dir1/file1_dir1 and did a commit, then a 'svn diff'
> but nothing showed until quite a few minutes later although the file in
> the .svn/text-base directory showed the changes. Why is there a time
> lapse from the commit state to when diff shows the changes?
The commit pushes your change back to the repository. Svn diff without
a version argument compares the working copy to the repository HEAD
(latest revision) which should be the same after you commit. If you
make a change to your working copy and 'svn diff' before the commit you
should see it - or you can specify an earlier revision in the diff command.
> All this while the changes only occur in the Working Copy. I was
> expecting that when I do 'commit' the changes would go to the original
> xdatadir, but this does not happen.
> Everything stays in /home/jdoe/mytmp.
The original copy remains unversioned. Also, no changes go to other
copies automatically. You (or other users with access to the
repository) can check out multiple working copies and 'svn update' in
each will pull the latest changes that have been committed to the
repository from any other working copy. Each commit creates a new
revision number for the repository and by specifying the revision in
your checkout or update command you will be able reproduce any path in
any state that was ever committed.
> I'm trying my best to put the pieces together so please feel free to
> give me any feedback so I may learn this app.
> Thanks so far to all that responded. Every response had a bit of the puzzle.
It might be a good idea to set up ViewVC, websvn or something similar
that lets you browse the repository easily to see how it works.
To unsubscribe from this discussion, e-mail: [users-unsubscribe_at_subversion.tigris.org].
Received on 2009-09-16 00:58:40 CEST