Announcement

Collapse
No announcement yet.

Revision numbers per files

Collapse
X
  • Filter
  • Time
  • Show
Clear All
new posts

  • Revision numbers per files

    Hi,

    Apologies in advance, I am new to SVN and I am using VisualSVN on the server. Now when I commit my files I want the revision number to be specific to each file and not an overall repo revision number, for example I want the following:

    myprogram.txt
    - First time commit: Revision=1
    - Updated and re-commit: Revision=2

    myprogram2.txt
    - First time commit: Revision=1
    - Updated and re-commit: Revision=2

    etc.



    Currently I am getting this:

    myprogram.txt
    - First time commit: Revision=1
    - Updated and re-commit: Revision=2

    myprogram2.txt
    - First time commit: Revision=3
    - Updated and re-commit: Revision=4

    etc.

    Is this even possible with SVN? I know it was possible with CVS. Any help would be great :)

    Thanks
    Craig

  • #2
    CVS was not truly a repository based system: it simply versioned each file separately and sort of managed the collection.

    Subversion is a repository based system. The revisions are repository wide. You can obtain a list of which revisions changed which files: just type "svn log <filename>".

    Comment

    Working...
    X