Fix gbs cost too long time to export icu package. 33/320633/2 accepted/tools_devbase_tools master accepted/tools/devbase/tools/20250527.103743 accepted/tools/devbase/tools/20250528.062221
authorwanchao.xu <wanchao.xu@samsung.com>
Wed, 5 Mar 2025 06:43:39 +0000 (14:43 +0800)
committerwanchao.xu <wanchao.xu@samsung.com>
Wed, 5 Mar 2025 07:50:56 +0000 (15:50 +0800)
commitdeef29c9321586f332a43b3aa4eb783b97d3c15d
tree768d3e5c10c441cb94f0af7c4b63b119d3b2d6de
parent61d2a20dc0f8d4d45d296ac223fc59bfb8194a7e
Fix gbs cost too long time to export icu package.

* Python3 use bytes to save the output of git command, and bytes type is immutable, it will release and reallocate memory when copying output.
  python2 use string to save output, it's alterable.

Change-Id: Ic1fb891fb03321708f2895cd30b4f797bdf78a6b
Signed-off-by: wanchao.xu <wanchao.xu@samsung.com>
gbp/git/repository.py