Is anyone here uses subversion to keep the C++ header and implementation files to the repository? I need your help... Pls reply.. Thank you...

Dani AI

Generated

For : Subversion is a fine choice for storing C++ headers and implementation files. It is language‑agnostic and works well for plain text source. A few practical setup points prevent the usual headaches (line endings, accidental binaries, build artifacts) and make daily work smoother.

Quick, practical checklist you can apply right away:

# set native EOL so CRLF/LF mismatches don't spam diffs
svn propset svn:eol-style native file.cpp file.h

# mark binary artifacts so svn won't attempt text diffs
svn propset svn:mime-type application/octet-stream libMyLib.a

# ignore build outputs
svn propset svn:ignore "*.o
*.obj
*.exe
build/
" .

Recommended repo layout and workflow: use the conventional trunk/, branches/, and tags/ layout; keep only source in version control and never check in auto-generated build products; use branches for long‑running features and svn copy for tags/releases. Consider svn:keywords if you want simple in-file revision info, and svn:externals only for stable, shared code (it has versioning caveats).

As others hinted, read the docs and try a small test repo before migrating a big project. The official Subversion book is a concise reference for properties and workflows: Version Control with Subversion. Also follow 's tip about community resources if you run into specific issues; and ignore the ironic jab from — Subversion handles C++ files just fine.

Recommended Answers

All 6 Replies

same answer we gave you last week. Join their mailing group and ask them your question.

you can't. Only version control system that can store C++ files is Visual SourceSafe.

<irony mode off>
read the documentation, get the Good Book, and away you go.

<irony mode off>

jwenting, I didn't see you turn on your irony mode. Does that mean all your posts before this were ironic? ;)

you can't. Only version control system that can store C++ files is Visual SourceSafe.

<irony mode off>
read the documentation, get the Good Book, and away you go.

Ok I bite. why is Visual SourceSafe the only version control system that can store c++ files ? :-/ I know for a fact there are others.

> jwenting, I didn't see you turn on your irony mode. Does that mean all your posts before this were ironic?

Yeah even I am surprised, JSP uses the XHTML like syntax which mandates an opening tag for each closing tag ... ;-)

mode got turned on before posting, might have been turned off at some point before that as well ;)

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.