Reputation: 6141
I work at a company that tracks what could be viewed as multiple projects under one SVN repository. Therefore, when I git-svn cloned said repository, I did it into multiple git-svn repositories. However, sometimes it would be better to SVN-commit a single logical change that spans multiple projects. Is there a way to do this?
For example, given the git-svn repositories:
I would like to be able to do git svn dcommit-simultaneously project-a project-b
or something and have it commit only once to SVN.
Upvotes: 3
Views: 238
Reputation: 121
Run "svn info $project_url" for each project. If the reported "Repository Root" is the same for each, then you can "git svn clone $repo_root" and use that to make an atomic commit across the projects. Otherwise, it's not possible to make an atomic commit across repositories, even natively with subversion.
Upvotes: 2