apm_git_repo_branches (private)
apm_git_repo_branches -path path
Defined in packages/acs-admin/tcl/apm-admin-procs.tcl
Extracts the available branches from an OpenACS Git repo. This assumes the specific Git setup for our repo, hence it is meant for internal use only.
- Switches:
- -path (required)
- Returns:
- list of branch names
- Partial Call Graph (max 5 caller/called nodes):
- Testcases:
- No testcase defined.
Source code: set cd_helper [file join $::acs::rootdir bin cd-helper] set git_command git set output [exec $cd_helper $path $git_command branch -r] return [regexp -line -inline -all {oacs-\d+-\d+} $output]XQL Not present: PostgreSQL, Oracle Generic XQL file: packages/acs-admin/tcl/apm-admin-procs.xql