Andrea Gavana wrote: > Hi All, > > in our office we work with quite complex input files for a > reservoir simulator. Those files have thousands of keywords, switches, > sub-keywords and whatever. Every time a modification is requested, we > modify the input file and re-run the simulator. Obviously, the > possible modifications are innumerable: so, after few months, we lose > the records of all the changes we made during time and we don't have > anymore a clear history of our work. This can be a problem, as > sometimes it happens that an old input file is requested by > collegues/sub-companies, and it is a pain to retrieve the correct file > and results. > So, I have written a GUI in wxPython that could help us in tracking > the history, but I was wondering if there exists a small and simple > SVN/CVS-like library in Python that may help us in a better way, > storing modifications/changes and showing which input file are the > "children" of (are derived from) another input file (older). > But I am open to all possible suggestions to improve/modify the > software, as this is an area in which my experience is about nothing > above zero. > > Thank you very much for every hint. > I should have thought that the best way to achieve this functionality would be to use the SVN or CVS commands using os.system or the subprocess module.
There is at least one Python interface to Subversion, however. See http://pysvn.tigris.org/ regards Steve -- Steve Holden +44 150 684 7255 +1 800 494 3119 Holden Web LLC/Ltd http://www.holdenweb.com Skype: holdenweb http://del.icio.us/steve.holden Blog of Note: http://holdenweb.blogspot.com See you at PyCon? http://us.pycon.org/TX2007 -- http://mail.python.org/mailman/listinfo/python-list