thienhaflash
thienhaflash

Reputation: 79

File version control vs revision control

I used SVN + GIT but still find it's not quite satisfied as they do not use file-level version control. Anybody can tell me why all types of version controls software out there does not support tracking version for invidual files ?

Basically what i wanted to do is develop small libraries on their own branch then continuously integrated into the master branch. The problem is each branch not only contains those files but also the project settings files, the configuration, the test scripts ... that i needed to put in version control while developing the library as well. And I wanted that the revision for each library will count separately. And when I create another branch from master, I will always have up to dated libraries that I can use. And if I do bugfixes on that branch I will be able to push back the modified library files only to the master branch, then on master, I will be able to push the bugfixed onto the correct library branch, too.

So in summary the problem is how can I merge only selected files into arbitrary branches and tracking the changes for each file separately ?

Is it a way to do that or am I doing something that terribly wrong here ? I'm getting confused. Please help !

Upvotes: 0

Views: 166

Answers (1)

Adam Dymitruk
Adam Dymitruk

Reputation: 129654

You want to use submodules and not bother with SVN. You will be able to mix and match as you please.

Upvotes: 1

Related Questions