Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

"No changes found" occurs while pushing to SVN server through TortoiseHg with hgsubversion

I've setup a SVN Server by using the VisualSVN Server, and have the TortoiseSVN, TortoiseHg, hgsubversion installed in my development PC. I can successfully CLONE the SVN repo from the SVN Server, and COMMIT changes using TortoiseHg. However, when I want to PUSH back the changes onto the SVN Server, I always get the following message:

pushing to svn+https://SVN.DEVTEAM:8443/svn/ProjectX/
searching for changes
no changes found
[command completed successfully Wed Dec 22 14:32:31 2010]

I've the following lines in my Mercurial global settings:

[extensions]
rebase=
hgsubversion = C:\hgsubversion\hgsubversion

Please advise!

Thanks, William

like image 423
William X Avatar asked Dec 22 '10 06:12

William X


1 Answers

I found that, this case happens as we didn't perform any SVN commits prior pulling/pushing through Mercurial. My workaround is asking the SVN Server admin to do an initial commit to the SVN repo after the repo was created on the server.

Make sure that the initial commit includes at least one file as containing only folders is not enough to solve the problem.

like image 174
William X Avatar answered Sep 28 '22 04:09

William X