Skip to content

Latest commit

 

History

History
152 lines (108 loc) · 8.18 KB

GENIE_SVN.markdown

File metadata and controls

152 lines (108 loc) · 8.18 KB

New SVN Repo

Tested

svn co svn+ssh://[email protected]/hepforge/svn/genie/support/unit_tests/trunk ut
svn co svn+ssh://[email protected]/hepforge/svn/genie/docs docs
svn co svn+ssh://[email protected]/hepforge/svn/genie/generator/trunk trunk
svn co svn+ssh://[email protected]/hepforge/svn/genie/generator/branches/R-2_12_6 R-2_12_6
svn co svn+ssh://[email protected]/hepforge/svn/genie/generator/devel/branches/nucleaon_decay_channel_additions nucleaon_decay_channel_additions
svn co svn+ssh://[email protected]/hepforge/svn/genie/generator/devel/branches/resupdates resupdates
svn co --quiet http://genie.hepforge.org/svn/generator/branches/R-2_12_6 R-2_12_6
svn co --quiet http://genie.hepforge.org/svn/generator/trunk trunk
svn co svn+ssh://[email protected]/hepforge/svn/genie/comparisons/trunk comparisons_trunk

svn copy -m "start 2.8.6 REDTOP devel" \
  svn+ssh://[email protected]/hepforge/svn/genie/generator/branches/R-2_8_6 \
  svn+ssh://[email protected]/hepforge/svn/genie/generator/devel/branches/Redtop-2_8_6

svn copy -m "MEC devel" \
  svn+ssh://[email protected]/hepforge/svn/genie/generator/trunk \
  svn+ssh://[email protected]/hepforge/svn/genie/generator/devel/branches/mec_devel

svn copy -m "DIS Re-eval" \
  svn+ssh://[email protected]/hepforge/svn/genie/generator/trunk \
  svn+ssh://[email protected]/hepforge/svn/genie/generator/devel/branches/dis_reeval

svn co svn+ssh://[email protected]/hepforge/svn/genie/generator/devel/branches/Redtop-2_8_6 Redtop-2_8_6
svn co svn+ssh://[email protected]/hepforge/svn/genie/generator/devel/branches/mec_devel mec_devel

// get a specific commit to a different branch and merge it into the current branch
svn merge -c 6884 svn+ssh://[email protected]/hepforge/svn/genie/generator/trunk
svn merge -c 6885 svn+ssh://[email protected]/hepforge/svn/genie/generator/trunk

svn export svn+ssh://[email protected]/hepforge/svn/genie/generator/devel/branches/honda_flux-trunk_rv5318 honda
svn export svn+ssh://[email protected]/hepforge/svn/genie/generator/branches/R-2_9_0 R-2_9_0_export
svn export svn+ssh://[email protected]/hepforge/svn/genie/generator/branches/R-2_10_0 GENIE-Generator_v2.10.0
svn export svn+ssh://[email protected]/hepforge/svn/genie/generator/branches/R-2_10_2 GENIE-Generator_v2.10.2
svn export svn+ssh://[email protected]/hepforge/svn/genie/generator/branches/R-2_10_2 GENIE
svn export svn+ssh://[email protected]/hepforge/svn/genie/generator/branches/R-2_10_4 GENIE
svn export svn+ssh://[email protected]/hepforge/svn/genie/generator/trunk trunk

# compare branches
svn diff svn+ssh://[email protected]/hepforge/svn/genie/generator/branches/R-2_12_4 svn+ssh://[email protected]/hepforge/svn/genie/generator/branches/R-2_12_6

# compare branches into a patch...
svn diff svn+ssh://[email protected]/hepforge/svn/genie/generator/branches/R-2_12_4 \
  svn+ssh://[email protected]/hepforge/svn/genie/generator/branches/R-2_12_6 > diff.patch

# delete a branch (wild...)
svn rm svn+ssh://[email protected]/hepforge/svn/genie/generator/branches/R-2_12_6

svn move -m "rename branch for S. Dytman" \
  svn+ssh://[email protected]/hepforge/svn/genie/generator/devel/branches/newfsi \
  svn+ssh://[email protected]/hepforge/svn/genie/generator/devel/branches/spectral_func_vt
  
svn copy -m "GENIE 2.10.0" \
  svn+ssh://[email protected]/hepforge/svn/genie/generator/branches/R-2_9_0 \
  svn+ssh://[email protected]/hepforge/svn/genie/generator/branches/R-2_10_0

svn copy -m "GENIE 2.10.2" \
  svn+ssh://[email protected]/hepforge/svn/genie/generator/branches/R-2_10_0 \
  svn+ssh://[email protected]/hepforge/svn/genie/generator/branches/R-2_10_2

# merge trunk into the branch I'm working in...
svn merge --dry-run svn+ssh://[email protected]/hepforge/svn/genie/generator/trunk
svn merge svn+ssh://[email protected]/hepforge/svn/genie/generator/trunk

# merge an updated branch back into trunk
svn merge --dry-run --reintegrate svn+ssh://[email protected]/hepforge/svn/genie/generator/devel/branches/resupdates
svn merge --reintegrate svn+ssh://[email protected]/hepforge/svn/genie/generator/devel/branches/resupdates

# diffs over a range of commits
svn diff --summarize -r5547:5681 svn+ssh://[email protected]/hepforge/svn/genie/generator/branches/R-2_10_2

# look at the logs over a range
svn log -r5547:5681 data/logo/genie_banner_long.txt 

# diff for a specfic commit from another branch
svn diff -c 7122 svn+ssh://[email protected]/hepforge/svn/genie/generator/trunk
# merge a spcefici commit from another branch
svn merge --dry-run -c 7122 svn+ssh://[email protected]/hepforge/svn/genie/generator/trunk
svn merge -c 7122 svn+ssh://[email protected]/hepforge/svn/genie/generator/trunk

Untested

svn copy -m "start 2.9.0 REDTOP devel" \
  svn+ssh://[email protected]/hepforge/svn/genie/generator/branches/R-2_9_0 \
  svn+ssh://[email protected]/hepforge/svn/genie/generator/devel/branches/Redtop-2_9_0

Misc

Post-commit hooks:

gnperdue@login:/hepforge/svn/genie/hooks$ more post-commit
#!/bin/sh
REPOS="$1"
REV="$2"

/usr/share/subversion/hook-scripts/commit-email.pl \
  "$REPOS" "$REV" [email protected]

svn move -m "GENIE 2.12.6" \
    svn+ssh://[email protected]/hepforge/svn/genie/generator/branches/R-2_12_4 \
    svn+ssh://[email protected]/hepforge/svn/genie/generator/branches/R-2_12_6

svn switch svn+ssh://[email protected]/hepforge/svn/genie/generator/branches/R-2_12_4

Old SVN Repo

svn co svn+ssh://[email protected]/hepforge/svn/genie/branches/R-2_8_4 R-2_8_4
svn co svn+ssh://[email protected]/hepforge/svn/genie/branches/R-2_8_6 R-2_8_6

svn co svn+ssh://[email protected]/hepforge/svn/genie/branches/R-2_9_0 R-2_9_0
svn co svn+ssh://[email protected]/hepforge/svn/genie/trunk trunk

svn co --quiet http://genie.hepforge.org/svn/branches/R-2_9_0 R-2_9_0

svn co svn+ssh://[email protected]/hepforge/svn/genie/branches/_devel_branch_not_for_users_01may13_sd_hj3ga7sk2va8q newhafsi

svn co svn+ssh://[email protected]/hepforge/svn/genie/branches/_devel_branch_not_for_users_v280_06jun13_hugh_nd9832nxll3a1 bscohpi

svn co svn+ssh://[email protected]/hepforge/svn/genie/devel/branches/miniboone_fits tuning_and_fits

svn list http://genie.hepforge.org/svn/branches 

svn export http://genie.hepforge.org/svn/branches/R-2_8_4 Genie-2.8.4
svn export http://genie.hepforge.org/svn/branches/R-2_8_6 GENIE_2_8_6
svn export http://genie.hepforge.org/svn/branches/R-2_9_0 GENIE_2_9_0
tar -czvf Genie-2.8.4.tar.gz Genie-2.8.4/
svn export http://genie.hepforge.org/svn/trunk trunk
svn export svn+ssh://[email protected]/hepforge/svn/genie/branches/R-2_9_0 R-2_9_0

svn co svn+ssh://[email protected]/hepforge/svn/genie/docs docs

svn co svn+ssh://[email protected]/hepforge/svn/genie/docs/policy/bylaws bylaws

svn export svn+ssh://[email protected]/hepforge/svn/genie/docs/manuals genie-manuals

svn copy -m "start R-2_8_6" \
  svn+ssh://[email protected]/hepforge/svn/genie/branches/R-2_8_4 \
  svn+ssh://[email protected]/hepforge/svn/genie/branches/R-2_8_6

svn copy -m "start R-2_9_0" \
  svn+ssh://[email protected]/hepforge/svn/genie/branches/R-2_8_6 \
  svn+ssh://[email protected]/hepforge/svn/genie/branches/R-2_9_0

svn copy -m "start a new trunk" \
  svn+ssh://[email protected]/hepforge/svn/genie/branches/R-2_9_0 \
  svn+ssh://[email protected]/hepforge/svn/genie/trunk

svn diff svn+ssh://[email protected]/hepforge/svn/genie/trunk svn+ssh://[email protected]/hepforge/svn/genie/branches/R-2_9_0