You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@subversion.apache.org by Swati Kulkarni <sw...@patni.com> on 2007/03/29 12:46:37 UTC

Creating SVN repository for source code ...

Hi All.

	I want to create a repository which will contain Source Code of our
project.
	Subversion produces an image of the whole repository whenever any change
	is made to the repository. (Unlike VSS which keeps version information per
file basis).

	I have two doubts..

	1) If at all I need to check the previous version of a particular file
then how will
	I locate it? As its not necessary that , that file was edited and commited
to the previous Revision .
	Is there a way to locate file's previous version's Revision Number?


	2) Also, there would be file commits to the repository on daily basis by
our developers. Source code is huge containing so many files with 40
developers in team.
	Each and every commit would give birth to a new Revision. So , there would
be so many Revision files.
	I wanted to ask if there are any limitations on number of Revisions an SVN
repository can keep?


	 We need to network our repository. I am planning to use Subversionaware
Apache Server having SVN 1.4.3 + Apache2.2.4 with FSFS backend.
	OS is Windows 2003 Server.

	Presently we are using Visual Source Safe(VSS) for version control. We
need to port existing VSS database to the SVN.


	Thanks in advance for any help.



Regards,

Swati



http://www.patni.com
World-Wide Partnerships. World-Class Solutions.
_____________________________________________________________________

This e-mail message may contain proprietary, confidential or legally
privileged information for the sole use of the person or entity to
whom this message was originally addressed. Any review, e-transmission
dissemination or other use of or taking of any action in reliance upon
this information by persons or entities other than the intended
recipient is prohibited. If you have received this e-mail in error
kindly delete  this e-mail from your records. If it appears that this
mail has been forwarded to you without proper authority, please notify
us immediately at netadmin@patni.com and delete this mail. 
_____________________________________________________________________


Re: Creating SVN repository for source code ...

Posted by Les Mikesell <le...@gmail.com>.
Swati Kulkarni wrote:
> 
>> 	I want to create a repository which will contain Source Code of our
>> project.
>> 	Subversion produces an image of the whole repository whenever any
>> change
>> 	is made to the repository. (Unlike VSS which keeps version
>> information per
>> file basis).
> 
> What do you mean "Subversion produces an image of the whole repository"?
> 
> I mean it creates Revision which reflects state of the filesystem tree at
> that time.

The repository only appears to have a complete new copy after any 
change.  It really only stores the differences.   And in the typical 
case where you check out a copy, then update to pick up the changes 
committed from a different working copy, only the differences are 
transferred.

-- 
   Les Mikesell
     lesmikesell@gmail.com

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org

RE: Creating SVN repository for source code ...

Posted by Swati Kulkarni <sw...@patni.com>.

On Mar 29, 2007, at 07:46, Swati Kulkarni wrote:

> 	I want to create a repository which will contain Source Code of our
> project.
> 	Subversion produces an image of the whole repository whenever any
> change
> 	is made to the repository. (Unlike VSS which keeps version
> information per
> file basis).

What do you mean "Subversion produces an image of the whole repository"?

I mean it creates Revision which reflects state of the filesystem tree at
that time.


> 	I have two doubts..
>
> 	1) If at all I need to check the previous version of a particular
> file
> then how will
> 	I locate it? As its not necessary that , that file was edited and
> commited
> to the previous Revision .
> 	Is there a way to locate file's previous version's Revision Number?

Use svn log on the file. That will show ou all changes (and all
revision numbers) of just that file.


OK . Thanks, I will check that command........


> 	2) Also, there would be file commits to the repository on daily
> basis by
> our developers. Source code is huge containing so many files with 40
> developers in team.
> 	Each and every commit would give birth to a new Revision. So ,
> there would
> be so many Revision files.
> 	I wanted to ask if there are any limitations on number of
> Revisions an SVN
> repository can keep?

I don't think there are any limits you need to worry about. See for
example the Apache group's repository, which has over 500,000
revisions already.

http://svn.apache.org/viewvc/httpd/

Ya I checked that... thanks a lot Ryan, you relieved my one big
tension..many thanks to you.


--

To reply to the mailing list, please use your mailer's Reply To All
function


http://www.patni.com
World-Wide Partnerships. World-Class Solutions.
_____________________________________________________________________

This e-mail message may contain proprietary, confidential or legally
privileged information for the sole use of the person or entity to
whom this message was originally addressed. Any review, e-transmission
dissemination or other use of or taking of any action in reliance upon
this information by persons or entities other than the intended
recipient is prohibited. If you have received this e-mail in error
kindly delete  this e-mail from your records. If it appears that this
mail has been forwarded to you without proper authority, please notify
us immediately at netadmin@patni.com and delete this mail. 
_____________________________________________________________________


Re: Creating SVN repository for source code ...

Posted by Ryan Schmidt <su...@ryandesign.com>.
On Mar 29, 2007, at 07:46, Swati Kulkarni wrote:

> 	I want to create a repository which will contain Source Code of our
> project.
> 	Subversion produces an image of the whole repository whenever any  
> change
> 	is made to the repository. (Unlike VSS which keeps version  
> information per
> file basis).

What do you mean "Subversion produces an image of the whole repository"?


> 	I have two doubts..
>
> 	1) If at all I need to check the previous version of a particular  
> file
> then how will
> 	I locate it? As its not necessary that , that file was edited and  
> commited
> to the previous Revision .
> 	Is there a way to locate file's previous version's Revision Number?

Use svn log on the file. That will show ou all changes (and all  
revision numbers) of just that file.


> 	2) Also, there would be file commits to the repository on daily  
> basis by
> our developers. Source code is huge containing so many files with 40
> developers in team.
> 	Each and every commit would give birth to a new Revision. So ,  
> there would
> be so many Revision files.
> 	I wanted to ask if there are any limitations on number of  
> Revisions an SVN
> repository can keep?

I don't think there are any limits you need to worry about. See for  
example the Apache group's repository, which has over 500,000  
revisions already.

http://svn.apache.org/viewvc/httpd/


-- 

To reply to the mailing list, please use your mailer's Reply To All  
function


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org

Re: Creating SVN repository for source code ...

Posted by Stefan Langer <ma...@googlemail.com>.
Swati Kulkarni schrieb:
> [...] 1) If at all I need to check the previous version of a particular file
> then how will
> 	I locate it? As its not necessary that , that file was edited and commited
> to the previous Revision .
> 	Is there a way to locate file's previous version's Revision Number?
>   
Take a look at http://svnbook.red-bean.com/ you'll find everything you 
need to know in there.
> 	2) Also, there would be file commits to the repository on daily basis by
> our developers. Source code is huge containing so many files with 40
> developers in team.
> 	Each and every commit would give birth to a new Revision. So , there would
> be so many Revision files.
> 	I wanted to ask if there are any limitations on number of Revisions an SVN
> repository can keep? [...]
>   
This has been answered in a previous thread started by you called "Are 
there any size constraints for a SVN Server?". If the answer didn't 
satisfy you it is unlikely that you will get any new information if you 
do not specify in which way the answer didn't satisfy you.

Regards
Stefan

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org