mirror of
https://github.com/abapGit/abapGit.git
synced 2025-05-01 12:20:51 +08:00
#311 repo now has branches
This commit is contained in:
parent
adea9cbb69
commit
4424433f6e
|
@ -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,
|
||||
get_branch_name
|
||||
RETURNING VALUE(rv_name) TYPE lcl_persistence_repo=>ty_repo-branch_name,
|
||||
* get_branches
|
||||
* RETURNING VALUE(ro_branches) TYPE REF TO lcl_git_branch_list,
|
||||
get_branches
|
||||
RETURNING VALUE(ro_branches) TYPE REF TO lcl_git_branch_list,
|
||||
set_url
|
||||
IMPORTING iv_url TYPE lcl_persistence_repo=>ty_repo-url
|
||||
RAISING lcx_exception,
|
||||
|
@ -111,8 +111,8 @@ CLASS lcl_repo_online DEFINITION INHERITING FROM lcl_repo FINAL.
|
|||
DATA:
|
||||
mt_objects TYPE ty_objects_tt,
|
||||
mv_branch TYPE ty_sha1,
|
||||
mv_initialized TYPE abap_bool.
|
||||
* mo_branches TYPE lcl_git_branch_list.
|
||||
mv_initialized TYPE abap_bool,
|
||||
mo_branches TYPE REF TO lcl_git_branch_list.
|
||||
|
||||
METHODS:
|
||||
handle_stage_ignore
|
||||
|
|
|
@ -73,7 +73,7 @@ CLASS lcl_repo_online IMPLEMENTATION.
|
|||
et_objects = mt_objects
|
||||
ev_branch = mv_branch ).
|
||||
|
||||
* mo_branches = lcl_git_transport=>branches( get_url( ) ).
|
||||
mo_branches = lcl_git_transport=>branches( get_url( ) ).
|
||||
|
||||
find_dot_abapgit( ).
|
||||
|
||||
|
@ -107,9 +107,9 @@ CLASS lcl_repo_online IMPLEMENTATION.
|
|||
rv_name = ms_data-branch_name.
|
||||
ENDMETHOD. "get_branch_name
|
||||
|
||||
* METHOD get_branches.
|
||||
* ro_bracnhes = mo_branches.
|
||||
* ENDMETHOD. "get_branches
|
||||
METHOD get_branches.
|
||||
ro_branches = mo_branches.
|
||||
ENDMETHOD. "get_branches
|
||||
|
||||
METHOD set_url.
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user