svn commit command

satheesh
satheesh
Hi All,      I need to commit the folder after adding some new files to that folder. when i tried this in Tortoise-SVN, its working properly (committed successfully). but while trying this by using svn commit command it not committing the folder.    Steps i have followed,    1. Checkout the Test folder from Repository to D:\Test folder  2. Add some new files to that Test folder  3. Commit that folder using svn.exe commit D:\Test -m "Added"    Not committed... I have tried this TortoiseSVN(right click on that folder and click SVN Commit) it committed successfully....    Thanks in Advance.....

Last updated

Mand
Mand
Hi there,   You don't need svn.exe. Just 'svn commit'. See the book here for details.
andyl
andyl
Mand;127404Hi there,    You don't need svn.exe. Just 'svn commit'. See the book here for details.
   Unless you have an svn.bat or svn.cmd that appears in %PATH% before svn.exe does.    Also, you can't call svn (with or without the extension) if it's not in your %PATH%. Or if it's not installed in the first place. The OP isn't telling us what's actually happening.
andyl
andyl
satheesh;127401Hi All,      I need to commit the folder after adding some new files to that folder. when i tried this in Tortoise-SVN, its working properly (committed successfully). but while trying this by using svn commit command it not committing the folder.    Steps i have followed,    1. Checkout the Test folder from Repository to D:\Test folder  2. Add some new files to that Test folder  3. Commit that folder using svn.exe commit D:\Test -m "Added"
   You omitted one very critical step: Telling us what output/error message you do get. You should be getting some kind of error message. Knowing that is critical to giving you assistance.
Mand
Mand
andyl;127407Unless you have an svn.bat or svn.cmd that appears in %PATH% before svn.exe does.  Also, you can't call svn (with or without the extension) if it's not in your %PATH%. Or if it's not installed in the first place. The OP isn't telling us what's actually happening.
  The fact that it 'worked' in Tortoise suggests that he has SVN installed somewhere. But yeah, you're right, more info definitely needed.
andyl
andyl
Mand;127414The fact that it 'worked' in Tortoise suggests that he has SVN installed somewhere. But yeah, you're right, more info definitely needed.
 IIRC it's an optional component in the TSVN install, and that was only introduced with 1.7. So it's quite possible that it's not on the system.
satheesh
satheesh
I have already set the environment path for svn.exe(svn help-shows the help information properly) and i didn't get any error message, nothing is printed in console.
andyl
andyl
satheesh;127429I have already set the environment path for svn.exe(svn help-shows the help information properly) and i didn't get any error message, nothing is printed in console.
   svn ci should only return empty output if there is nothing to commit. What does svn st give you?
satheesh
satheesh
it shows following output:  D:\Build>svn st ? buildoutput.txt ? log.txt
andyl
andyl
Then you have nothing to commit. The ? status means "unknown" - you haven't added those items (and given that they're logs, you probably don't want to), and nothing that is versioned has been modified since your last commit.

1-10 of 10

Reply to this discussion

You cannot edit posts or make replies: You should be logged in before you can post.