Merging Subversion Repositories
Posted on March 29, 2008
Filed Under Linux | Leave a Comment
I had two different projects in separate subversion repositories and I wanted to merge them together. I found a simple tick like this.
1 2 3 4 5 6 7 | $ svnadmin dump srilankan > sri.dump $ svnadmin dump ebizlanka > ebiz.dump $ svnadmin create projects $ svn mkdir file:///home/ramesh/svn/projects/srilankan $ svnadmin load projects --parent-dir srilankan < sri.dump $ svn mkdir file:///home/ramesh/svn/projects/ebizlanka $ svnadmin load projects --parent-dir ebizlanka < ebiz.dump |
Show working directory in bash prompt
Posted on March 28, 2008
Filed Under Linux | Leave a Comment
I always get confused with which directory I’m working under. The solution I found is to display the working directory in the bash prompt. This is the single line that does the magic in the ~/.bashrc
1 | PS1=[\\w]\\$ |