Difference between revisions of "User:Stephanecharette"

From Gramps
Jump to: navigation, search
m (updated commands with new directory structures for branches)
Line 21: Line 21:
 
* [http://cia.vc/stats/project/Gramps CIA GRAMPS] (external site that tracks GRAMPS subversion commits)
 
* [http://cia.vc/stats/project/Gramps CIA GRAMPS] (external site that tracks GRAMPS subversion commits)
 
Shortcut to commands I always forget and have to look up:
 
Shortcut to commands I always forget and have to look up:
  svn co https://gramps.svn.sourceforge.net/svnroot/gramps/branches/gramps22
+
  svn co https://gramps.svn.sourceforge.net/svnroot/gramps/branches/maintenance/gramps31
svn co https://gramps.svn.sourceforge.net/svnroot/gramps/branches/gramps30
 
 
  svn co https://gramps.svn.sourceforge.net/svnroot/gramps/trunk
 
  svn co https://gramps.svn.sourceforge.net/svnroot/gramps/trunk
 
  cd po; for file in *.po; do echo -n "${file} "; ./check_po -s ${file} | grep "PO Coverage"; done
 
  cd po; for file in *.po; do echo -n "${file} "; ./check_po -s ${file} | grep "PO Coverage"; done
  
 
If you have to make the same change in gramps30 and trunk:
 
If you have to make the same change in gramps30 and trunk:
  cd ~/gramps/gramps30
+
  cd ~/gramps/gramps31
 
  ...make the change...
 
  ...make the change...
 
  svn commit -m "..."
 
  svn commit -m "..."
 
  note the revision number (say ''12345'')
 
  note the revision number (say ''12345'')
 
  cd ~/gramps/trunk
 
  cd ~/gramps/trunk
  svn merge -c ''12345'' https://gramps.svn.sourceforge.net/svnroot/gramps/branches/gramps30
+
  svn merge -c ''12345'' https://gramps.svn.sourceforge.net/svnroot/gramps/branches/maintenance/gramps31
 
  ...verify the changes...
 
  ...verify the changes...
 
  svn commit -m "..."
 
  svn commit -m "..."

Revision as of 04:31, 13 September 2009

Stéphane Charette:

Additional convenient bookmarks:

Shortcut to commands I always forget and have to look up:

svn co https://gramps.svn.sourceforge.net/svnroot/gramps/branches/maintenance/gramps31
svn co https://gramps.svn.sourceforge.net/svnroot/gramps/trunk
cd po; for file in *.po; do echo -n "${file} "; ./check_po -s ${file} | grep "PO Coverage"; done

If you have to make the same change in gramps30 and trunk:

cd ~/gramps/gramps31
...make the change...
svn commit -m "..."
note the revision number (say 12345)
cd ~/gramps/trunk
svn merge -c 12345 https://gramps.svn.sourceforge.net/svnroot/gramps/branches/maintenance/gramps31
...verify the changes...
svn commit -m "..."