From: Yann Dirson Date: Tue, 5 Dec 2006 22:07:23 +0000 (+0000) Subject: Create a StgitObject class to factorise code for property handling. X-Git-Tag: v0.12~61 X-Git-Url: https://www.chiark.greenend.org.uk/ucgi/~mdw/git/stgit/commitdiff_plain/8fe7e9f08ae6fe49cec66a8034e8495cbf77c6f3?hp=8fe7e9f08ae6fe49cec66a8034e8495cbf77c6f3 Create a StgitObject class to factorise code for property handling. This change makes it easier to add new stored fields to the Series object, without having to duplicate existing code from Patch. Generic field accessors were taken from the Patch class. Dir accessors were added to avoid making the __dir attribute public, and were used to replace Series::__series_dir (that name was a bit redundant anyway). Create_empty_field came as a natural addition to factorise more code. Signed-off-by: Yann Dirson ---