When I try to commit, I get the message:
Cannot modify files in tag directories
I know that I should have the rights to commit, but when I issue the command
svn commit src/MuEffMonitor.cpp -m "bla bla"
I get the message:
==>>
Sending src/MuEffMonitor.cpp
Transmitting file data ....svn: Commit faild (details follow):
svn: Commit blocked by pre-commit hook (exit code 1) with output:
Cannot modify files in tag directories
This is because you are not working with the HEAD of the package. You cannot commit to a tag, you must commit to the trunk or to a branch. See the
Guidelines for SVN commit. Getpack understands svn switching, so you can try getpacking the HEAD of your package, over the top of your changes. It is likely this will create conflicts, which you would need to resolve.
If necessary the release manager can make a branch for you.
svn: This client is too old to work with working copy 'ThePackage'; please get a newer Subversion client
This is because the last time you worked with
ThePackage
(getpack or commit) you must have done so from a machine with a more recent SVN client than the one installed on the current machine. This is a longstanding issue in particular with with slc5, which ships with a very old SVN client. You can 'fix' this by issuing the command
change-svn-wc-format
svn: File '/path/to/my/file.cpp' is out of date
If you get a failure message like:
Transmitting file data .svn: Commit failed (details follow):
svn: File '/path/to/my/file.cpp' is out of date
the reason is that the base version of the file you modified is older then the one in the repository. To avoid that you overwrite the changes by somebody else by mistake, Subversion tells you that you have to make an update (
svn update
) and possibly resolve the conflicts before committing.
--
MarcoClemencic - 11-Jul-2011