SVN

2016-05-26 Thread PERRY JENNINGS
SVN Source Code Manager,
Family Dollar has implemented SVN and about sixty percent of projects within 
the organization currently uses this repository to maintain source code for 
object-oriented applications. However, the remaining forty percent of source 
code within the organization cannot use SVN because the code is for 
non-object-oriented applications ; hence a single file, not a project needs to 
be checked in and out of the repository.  So my question is: Are you aware of a 
client that could be used to checkout and checkin a single file to the SVN 
repository and maintain the version number of the source code that is checked 
in?   If not, do you know if SVN has the single file checkout and checkin 
feature?


Thanks,
Perry

--
NOTE: This e-mail message contains PRIVILEGED and CONFIDENTIAL information and 
is intended only for the use of the specific individual or individuals to which 
it is addressed. If you are not an intended recipient of this e-mail, you are 
hereby notified that any unauthorized use, dissemination or copying of this 
e-mail or the information contained herein or attached hereto is strictly 
prohibited. If you receive this e-mail in error, notify the person named above 
by reply e-mail and please delete it. Thank you.


Re: SVN

2016-05-26 Thread Nico Kadel-Garcia
On Thu, May 26, 2016 at 2:08 PM, PERRY JENNINGS
 wrote:
> SVN Source Code Manager,
>
> Family Dollar has implemented SVN and about sixty percent of projects within
> the organization currently uses this repository to maintain source code for
> object-oriented applications. However, the remaining forty percent of source
> code within the organization cannot use SVN because the code is for
> non-object-oriented applications ; hence a single file, not a project needs
> to be checked in and out of the repository.  So my question is: Are you
> aware of a client that could be used to checkout and checkin a single file
> to the SVN repository and maintain the version number of the source code
> that is checked in?   If not, do you know if SVN has the single file
> checkout and checkin feature?

There are some ancient handbuilt RCS variants. The normal approach
would be to check out a subversion (or git, or whatever) working copy
and provide a synchronization wrapper to apply changes, or to check
local changes back in as needed.

I did this years ago for DNS source control, described at
http://svn.haxx.se/users/archive-2012-05/0043.shtml. I'm not sure I
have a copy of the tools lying around anymore.


single file version control - was: SVN

2016-05-26 Thread Andreas Stieger

Hi,

On 26/05/16 20:08, PERRY JENNINGS wrote:
cannot use SVN because the code is for *non-object-oriented* 
applications ; hence a single file, not a project needs to be checked 
in and out of the repository.  So my question is: Are you aware of a 
client that could be used to checkout and checkin a single file to the 
SVN repository and maintain the version number of the source code that 
is checked in?   If not, do you know if SVN has the single file 
checkout and checkin feature?


Apache Subversion supports serializing changes to binary files will all 
standard clients. It is called "locking", e.g. attaching svn:needs-lock 
properties to the files, and acquiring locks to serialize access. Read 
about it here:


http://svnbook.red-bean.com/nightly/en/svn.advanced.locking.html


Andreas