#311 repo now has branches

This commit is contained in:
atsy 2016-09-04 21:05:55 +03:00
parent adea9cbb69
commit 4424433f6e
2 changed files with 8 additions and 8 deletions

View File

@ -80,8 +80,8 @@ CLASS lcl_repo_online DEFINITION INHERITING FROM lcl_repo FINAL.
RETURNING VALUE(rv_url) TYPE lcl_persistence_repo=>ty_repo-url, RETURNING VALUE(rv_url) TYPE lcl_persistence_repo=>ty_repo-url,
get_branch_name get_branch_name
RETURNING VALUE(rv_name) TYPE lcl_persistence_repo=>ty_repo-branch_name, RETURNING VALUE(rv_name) TYPE lcl_persistence_repo=>ty_repo-branch_name,
* get_branches get_branches
* RETURNING VALUE(ro_branches) TYPE REF TO lcl_git_branch_list, RETURNING VALUE(ro_branches) TYPE REF TO lcl_git_branch_list,
set_url set_url
IMPORTING iv_url TYPE lcl_persistence_repo=>ty_repo-url IMPORTING iv_url TYPE lcl_persistence_repo=>ty_repo-url
RAISING lcx_exception, RAISING lcx_exception,
@ -111,8 +111,8 @@ CLASS lcl_repo_online DEFINITION INHERITING FROM lcl_repo FINAL.
DATA: DATA:
mt_objects TYPE ty_objects_tt, mt_objects TYPE ty_objects_tt,
mv_branch TYPE ty_sha1, mv_branch TYPE ty_sha1,
mv_initialized TYPE abap_bool. mv_initialized TYPE abap_bool,
* mo_branches TYPE lcl_git_branch_list. mo_branches TYPE REF TO lcl_git_branch_list.
METHODS: METHODS:
handle_stage_ignore handle_stage_ignore

View File

@ -73,7 +73,7 @@ CLASS lcl_repo_online IMPLEMENTATION.
et_objects = mt_objects et_objects = mt_objects
ev_branch = mv_branch ). ev_branch = mv_branch ).
* mo_branches = lcl_git_transport=>branches( get_url( ) ). mo_branches = lcl_git_transport=>branches( get_url( ) ).
find_dot_abapgit( ). find_dot_abapgit( ).
@ -107,9 +107,9 @@ CLASS lcl_repo_online IMPLEMENTATION.
rv_name = ms_data-branch_name. rv_name = ms_data-branch_name.
ENDMETHOD. "get_branch_name ENDMETHOD. "get_branch_name
* METHOD get_branches. METHOD get_branches.
* ro_bracnhes = mo_branches. ro_branches = mo_branches.
* ENDMETHOD. "get_branches ENDMETHOD. "get_branches
METHOD set_url. METHOD set_url.