On Thu, 28 Aug 2008 09:26:32 +0200 Arne Babenhauserheide <[EMAIL PROTECTED]> wrote:
> Hi, > > I just dived into pyHurd again (switched to wmii for that, so a qemu crash > wouldn't take my open KDE config files again...) and wrote a simple file > object for pyhurd (as example). > > - http://freehg.org/u/ArneBab/pyhurd > > Usage: > f = file.file(path) > # read > f.read() > # write > f.write(date) > # seek (only works for write, since I didn't know > # how to read from a specific position) > # Whence specifies from where to seek (as in Python): > # 0: Beginning, 1: Current position, 2: End > f.seek(offset, whence = 0) > > It is simply an adapted version of your copy and dump examples, but might be > useful. Can you form it as example file? > Also I found in the mean time (some months ago), how freehg can be used > efficiently: > The freehg _website_ only allows a pull model, than means you can only push > to > your own repositories and get data from others by pulling from them. > > To create efficient structures, the best way I found is to just create pair > repositories, one to which you push, one from which you pull. > > If you want to do it, you only need to add the following lines in the > ".hg/hgrc" file in your pyhurd repository: > > [paths] > # Path to pull from > default = http://freehg.org/u/ArneBab/pyhurd > # Path to push to > http://freehg.org/u/AnatolyKazantsev/pyhurd/ > > I just did the same in reverse, so if you add it, we'll have synchronizing > repositories. Good! But I think it only solves the problem for us. If someone wants to participate in development? What about creating project on Savannah? It supports hg. -- Anatoly A. Kazantsev Protect your digital freedom and privacy, eliminate DRM, learn more at http://www.defectivebydesign.org/what_is_drm
pgp7Y3EySuQEi.pgp
Description: PGP signature