[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

RE: Where does Subversion keep the initial version of a file after the initial commit?

From: Wu Li (wuli2) <wuli2_at_cisco.com>
Date: Tue, 14 Oct 2008 09:55:51 +0800

From i known, the svn save both the orignal files and the changes at the
same ROOT directory. That is the directory of respository. So, you just
need to backup this directory, it's enough.
Li Wu


From: Chris_Hoang_at_playstation.sony.com
Sent: Tuesday, October 14, 2008 8:39 AM
To: users_at_subversion.tigris.org
Subject: Where does Subversion keep the initial version of a file after
the initial commit?


I have just used TortoiseSVN to do an initial commit of a simple
experimental project of mine into a Subversion
repository, freshly created.

After the initial commit, I could use TortoiseSVN to browse my
repository. And I saw my source code file there,
as intended. It was only when I used DOS commands to 'browse'
through my repository that I didn't see my
source code file.

I wonder if you could please help me understand how and where Subversion
keeps the source code file after the
initial commit? If my understanding is correct, for each commit,
Subversion keeps, in the repository, a small file with
information of what has changed. This makes me think that for the
initial commit, Subversion would need to store
the complete source code file, somewhere. And I wonder where this would

The reason I am having these questions is that I am planning to set up
my repository on a Windows shared drive,
which is regularly backed up. If the source code file is in the
repository, then my code back-up would be taken care
of. And if I loose my source code file, in my development
environment, I think I would still be OK.

But if the source code file is actually somewhere else outside of the
repository, then I would need to find another way
to back up my code.

Thank you for your help.

Received on 2008-10-14 03:56:45 CEST

This is an archived mail posted to the Subversion Users mailing list.