Just would like to know if anyone has tried using source control for Infopath 2007 forms specifically for Subversion. Is it advisable to upload these type of sources (not in text format) in SVN?
Yes you can add this type of data to subversion is added in octeam-sream type, next you can use subversion and administrate versions.
By versioning .xsn files you’re putting binary files under version control which has some drawbacks:
- No ability to compare between versions (although SVN can compare bitmap files).
- No ability to merge with the work of other users.
Having said that, there are still benefits:
- You can revert work in progress at any time.
- You can roll back to a previous revision at any time.
- You can easily share your work with others (although you have the merge limitation mentioned above).
- You can still store your code in a central location.
If the drawbacks are not showstoppers then I’d do it for the sake of the benefits.
BTW, remember there are plenty of other binary files often stored in SCM; bitmap images, Flash animations etc.
The InfoPath form .xsn is a packed container format that contains a bunch of XML files and some images.
I would rather sugesst to extract the InfoPath form to source files and check them in.
You can work on source files as well as on the packed .xsn
of course.
The source files are XML and the history can be tracked well by SVN.