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

Re: Some Queries about subversion supported features

From: Aamir Yaseen <aamir.yaseen_at_gmail.com>
Date: 2006-08-07 13:02:39 CEST

Hi ALL,
Thanks Schmidt and Levy for details answers.
I have following questions regarding Versioning.

According to subversion Book: "Unlike those of many other version control
systems, Subversion's revision numbers apply to entire trees, not individual
files. Each revision number selects an entire tree, a particular state of
the repository after some committed change".

Question: Is there any way to find the last modified version of the
specified file in the repository.
Example: there is a file abc.txt in repository with current repository
version of 37, and this file was last time changed in repository version 13,
after that its version is incrementing due to subversion's Versioning Model.
Now before making any change in abc.txt, I want to get the last updated
version of this file (not the repository). How can I find that version (13
here in this example)?

What should be the command or any URL?
Any help will be highly appreciated.

Kind Regards ~~~~
H.M. Aamir Yaseen

On 8/2/06, Ryan Schmidt <subversion-2006c@ryandesign.com> wrote:
>
> On Aug 2, 2006, at 12:21, Aamir Yaseen wrote:
>
> > Does SVN provide file-level incremental versioning of the file
> > resources while maintaining older version in the system in an
> > accessible manner?
>
> Yes, older versions of everything are maintained in the repository.
> Removing those older versions is in fact rather difficult exactly
> because providing access to older versions is an essential design
> goal of Subversion.
>
> Unlike CVS, which has file-oriented commits, Subversion does not
> limit itself to the file level, and so things are versioned based on
> revisions. A revision may contain a change to a single file, or it
> may contain changes to many files, or even directories and properties.
>
>
> > Does SVN allows roll-back of versions?
>
> Yes, changes can be undone.
>
> http://svnbook.red-bean.com/en/1.2/
> svn.branchmerge.commonuses.html#svn.branchmerge.commonuses.undo
>
>
> > Does SVN allow the deployment of the server on the remote machine
> > ( Network Drive )?
>
> There are several ways you can serve a repository from a server,
> including an Apache2 module and a standalone server. Many people
> recommend that you store the repository on the same machine that's
> running the server process, but I believe it can also be stored on a
> SAN, NAS or other network drive distant from the server (as long as
> you use the FSFS repository backend [which is now the default] and
> not the BDB backend).
>
>
> > Can user setup effective date for resources being checked in?
>
> If you're asking if you can commit something to the repository, and
> then change the date that it appears that thing was checked in, then
> the answer is that Subversion doesn't allow this by default, but you
> can easily change it to allow that if you want. Each revision has a
> number of properties, including the author, the date, a log message
> and so forth, and you can install a simple "pre-revprop-change hook"
> to allow changes to these properties.
>
> http://svnbook.red-bean.com/en/1.2/
> svn.reposadmin.create.html#svn.reposadmin.create.hooks
>
> If OTOH you're asking if you can schedule something to be committed
> at a later time, then that's outside the scope of what Subversion
> provides, but you can probably write a script of your own to do that
> if you want (though I'm not sure why it would be useful).
>
>
>
Received on Mon Aug 7 13:04:19 2006

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.