Hi,
I have just installed TortoiseSVN on my machine, and I am trying to understand it from documentation. I need it for -- restoring the older versions of my misdeveloped programs (after some sad experiences) -- making diffs/patches to upload onto SF -- update Pywikipedia (by this time I used nightlies for this purpose)
As far as I understand, I need an own repository here for the first goal. I thought I would synchronize my working copy (which should be the active pywikibot) with my local repository first and then update it from Pywiki repository.
Is this a good concept? What will happen to the rev numbers this way? Will they confuse? Or how do you solve this (those who develop and not only use the bot)?
On Fri, Mar 4, 2011 at 8:46 AM, Bináris wikiposta@gmail.com wrote:
Hi,
I have just installed TortoiseSVN on my machine, and I am trying to understand it from documentation. I need it for -- restoring the older versions of my misdeveloped programs (after some sad experiences) -- making diffs/patches to upload onto SF -- update Pywikipedia (by this time I used nightlies for this purpose)
As far as I understand, I need an own repository here for the first goal. I thought I would synchronize my working copy (which should be the active pywikibot) with my local repository first and then update it from Pywiki repository.
Is this a good concept?
No. A single directory should only be synchronized to a single repository. If you want to use a local repository to keep old versions of your own programs, I think you should put them in a separate directory that is not updated automatically from the general pywikipedia repository.
What will happen to the rev numbers this way? Will they confuse? Or how do you solve this (those who develop and not only use the bot)?
In general I don't feel a need to keep access to old versions of my private experiments, so if there is no need to get them in the main code (or if I am unable to upload, like I am at the moment (grmbl)) I just keep them as unversioned files.
Bináris wikiposta@gmail.com wrote:
--===============1254137196686846447== Content-Type: multipart/alternative; boundary=000e0cd5983ca588a1049da3585b
--000e0cd5983ca588a1049da3585b Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable
Hi,
I have just installed TortoiseSVN on my machine, and I am trying to understand it from documentation. I need it for -- restoring the older versions of my misdeveloped programs (after some sad experiences) -- making diffs/patches to upload onto SF -- update Pywikipedia (by this time I used nightlies for this purpose)
As far as I understand, I need an own repository here for the first goal. I thought I would synchronize my working copy (which should be the active pywikibot) with my local repository first and then update it from Pywiki repository.
Is this a good concept? What will happen to the rev numbers this way? Will they confuse? Or how do you solve this (those who develop and not only use the bot)?
There is a "svnsync" utility which allows you to keep a full local copy of the repository. There is also "svk" utility to have a kind of peer-to-peer model in SVN (but I never used it).
I am using svnsync to have a local copy of the FreeBSD source tree repository.
I don't have a commit right there, so it's not a problem. But actually I never commit to my local repository either, I use it only to have my svn diffs, svn logs etc. fast and when I'm off-line.
//Marcin
pywikipedia-l@lists.wikimedia.org