SVN update a working copy when parents are updated
Posted
by
ruckuus
on Stack Overflow
See other posts from Stack Overflow
or by ruckuus
Published on 2012-10-03T03:35:29Z
Indexed on
2012/10/03
3:37 UTC
Read the original article
Hit count: 110
svn
|version-control
I have two SVN branches and I plan to partially copy the first working copy to another. I did this:
- Libs /home/user/projects/libs/{lib1, lib2, lib3}
Core /home/user/projects/Apps/{libs,core}
svn copy --parents /home/user/projects/libs/lib1/* /home/user/projects/Apps/libs/1 svn copy --parents /home/user/projects/libs/lib2/* /home/user/projects/Apps/libs/2 svn copy --parents /home/user/projects/libs/lib3/* /home/user/projects/Apps/libs/3
The question: My peers are still working on /home/user/projects/libs/lib1, and when this repository is updated with new codes, I want my /home/user/projects/Apps/libs also updated. Is there any way to do that "automatically"?
I tried to do with the same svn copy command, and of course it fails with: svn: Path '/home/user/projects/Apps/libs/1' already exists
© Stack Overflow or respective owner