Hi folks, as promised, here's what I was envisioned for the git class - move the actual git handling code to a common library, common_lib.revision_control, and make the classes under server to have a GitRepo object assigned to an attribute, and all their git interaction methods are delegates to the GitRepo methods.
Let me know what you think about it. This change went through light testing, so it's a good idea that interested folks also test it, so we can capture any problems before this gets eventually commited. Lucas Meneghel Rodrigues (1): Introduce common_lib.revision_control client/common_lib/revision_control.py | 232 +++++++++++++++++++++++++++++++++ server/git.py | 150 +++------------------- server/git_kernel.py | 5 +- 3 files changed, 252 insertions(+), 135 deletions(-) create mode 100644 client/common_lib/revision_control.py -- 1.7.2.2 _______________________________________________ Autotest mailing list [email protected] http://test.kernel.org/cgi-bin/mailman/listinfo/autotest
