Re: FAQ 4.46, applications interfere with subversion or not?
Hello, * On Fri, Jun 05, 2009 at 07:45:22AM -0700 David Rothenberger wrote: > On 6/5/2009 2:08 AM, Corinna Vinschen wrote: >> On Jun 4 14:33, David Rothenberger wrote: [...] >> Can you nail down the problem into a simple testcase? > > I kinda doubt it. Subversion is using APR to move a file, and the error > occurs only sporadically if some other Windows program (e.g., virus > scanner) has the file that's being moved open. Do you expect that to > work with 1.7? I had a test case for plain Windows as well as cygwin (1.5), cf. http://www.cygwin.com/ml/cygwin/2008-04/msg00691.html. Regards, Spiro. -- Spiro R. Trikaliotis http://opencbm.sf.net/ http://www.trikaliotis.net/ http://www.viceteam.org/ -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/
Re: FAQ 4.46, applications interfere with subversion or not?
On Jun 5 07:45, David Rothenberger wrote: > On 6/5/2009 2:08 AM, Corinna Vinschen wrote: >> Can you nail down the problem into a simple testcase? > > I kinda doubt it. Subversion is using APR to move a file, and the error > occurs only sporadically if some other Windows program (e.g., virus > scanner) has the file that's being moved open. Do you expect that to > work with 1.7? Depends on how the Windows program opens the file. If the file has been opened with all sharing flags off, there's not the faintest chance to move the file to another location. Everything depends on the ability to open the file for deletion. Corinna -- Corinna Vinschen Please, send mails regarding Cygwin to Cygwin Project Co-Leader cygwin AT cygwin DOT com Red Hat -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/
Re: FAQ 4.46, applications interfere with subversion or not?
On 6/5/2009 2:08 AM, Corinna Vinschen wrote: On Jun 4 14:33, David Rothenberger wrote: On 6/3/2009 8:37 AM, David Rothenberger wrote: On 6/3/2009 8:20 AM, masc wrote: When using cygwin's cvs2svn with subversion (1.6.2 r37639) while running Avira AntiVir (http://www.avira.com/en/pages/index.php), svnadmin is failing sporadically due to permission failure moving files. The subversion code base has some hacks to retry various file operations to work around this issue. These hacks are enabled for a Windows build but not for Cygwin. I've attempted to port these hacks to Cygwin, but I may have missed an error code or three, thus not retrying some errors that should be retried. I just uploaded a new version of Subversion for 1.5 with a fix for the retry patch. I had missed a case when moving files. Are you using Cygwin 1.5 or 1.7? I have disabled this hack in the 1.7 build because I was hoping 1.7's more robust file renaming and deleting code would come to the rescue. It turns out that these problems still occur with 1.7, although less frequently, so I've also released new Subversion packages for 1.7 with the updated retry patch added. Did we discuss this already? No. Can you nail down the problem into a simple testcase? I kinda doubt it. Subversion is using APR to move a file, and the error occurs only sporadically if some other Windows program (e.g., virus scanner) has the file that's being moved open. Do you expect that to work with 1.7? -- David Rothenberger daver...@acm.org "Oh what wouldn't I give to be spat at in the face..." -- a prisoner in "Life of Brian" -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/
Re: FAQ 4.46, applications interfere with subversion or not?
On Jun 4 14:33, David Rothenberger wrote: > On 6/3/2009 8:37 AM, David Rothenberger wrote: >> On 6/3/2009 8:20 AM, masc wrote: >>> When using cygwin's cvs2svn with subversion (1.6.2 r37639) while running >>> Avira AntiVir (http://www.avira.com/en/pages/index.php), svnadmin is >>> failing >>> sporadically due to permission failure moving files. >> >> The subversion code base has some hacks to retry various file >> operations to work around this issue. These hacks are enabled for a >> Windows build but not for Cygwin. I've attempted to port these hacks to >> Cygwin, but I may have missed an error code or three, thus not retrying >> some errors that should be retried. > > I just uploaded a new version of Subversion for 1.5 with a fix for the > retry patch. I had missed a case when moving files. > >> Are you using Cygwin 1.5 or 1.7? I have disabled this hack in the 1.7 >> build because I was hoping 1.7's more robust file renaming and deleting >> code would come to the rescue. > > It turns out that these problems still occur with 1.7, although less > frequently, so I've also released new Subversion packages for 1.7 with > the updated retry patch added. Did we discuss this already? Can you nail down the problem into a simple testcase? Corinna -- Corinna Vinschen Please, send mails regarding Cygwin to Cygwin Project Co-Leader cygwin AT cygwin DOT com Red Hat -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/
Re: FAQ 4.46, applications interfere with subversion or not?
On 6/3/2009 8:37 AM, David Rothenberger wrote: On 6/3/2009 8:20 AM, masc wrote: When using cygwin's cvs2svn with subversion (1.6.2 r37639) while running Avira AntiVir (http://www.avira.com/en/pages/index.php), svnadmin is failing sporadically due to permission failure moving files. The subversion code base has some hacks to retry various file operations to work around this issue. These hacks are enabled for a Windows build but not for Cygwin. I've attempted to port these hacks to Cygwin, but I may have missed an error code or three, thus not retrying some errors that should be retried. I just uploaded a new version of Subversion for 1.5 with a fix for the retry patch. I had missed a case when moving files. Are you using Cygwin 1.5 or 1.7? I have disabled this hack in the 1.7 build because I was hoping 1.7's more robust file renaming and deleting code would come to the rescue. It turns out that these problems still occur with 1.7, although less frequently, so I've also released new Subversion packages for 1.7 with the updated retry patch added. -- David Rothenberger daver...@acm.org QOTD: All I want is a little more than I'll ever get. -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/
Re: FAQ 4.46, applications interfere with subversion or not?
1.7 seems to work well.. imported 8500 revisions on first attempt, while 1.5 was failing each of 5 attempts, never getting beyond rev 600. -- View this message in context: http://www.nabble.com/FAQ-4.46%2C-applications-interfere-with-subversion-or-not--tp23853503p23855609.html Sent from the Cygwin list mailing list archive at Nabble.com. -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/
Re: FAQ 4.46, applications interfere with subversion or not?
Im using 1.5, will try 1.7 now to see how that goes.. How can I help you to trace it down? David Rothenberger wrote: > > Are you using Cygwin 1.5 or 1.7? I have disabled this hack in the 1.7 > build because I was hoping 1.7's more robust file renaming and deleting > code would come to the rescue. If you're using 1.7, I can roll another > build with the hack enabled to see if that helps. If you're using 1.5, > I'll need your help to debug this so I can adjust the hack to retry in > this case. I only see the problem occasionally here. > -- View this message in context: http://www.nabble.com/FAQ-4.46%2C-applications-interfere-with-subversion-or-not--tp23853503p23854963.html Sent from the Cygwin list mailing list archive at Nabble.com. -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/
Re: FAQ 4.46, applications interfere with subversion or not?
On 6/3/2009 8:20 AM, masc wrote: When using cygwin's cvs2svn with subversion (1.6.2 r37639) while running Avira AntiVir (http://www.avira.com/en/pages/index.php), svnadmin is failing sporadically due to permission failure moving files. Reading up on FAQ and mailing lists, I found that 3rd party software like antivirus programs would be the cause. However, I installed subversion for windows from here: http://subversion.tigris.org/servlets/ProjectDocumentList?folderID=8100 (also 1.6.2 r37639), and after modifying cygwin's PATH to use it, the problem went away without touching antivir. I wonder why cygwin's subversion/binaries seems to have issues with antivir, while others do not.. rather looks like a cygwin issue on first glance.. can anyone shed light on this? The subversion code base has some hacks to retry various file operations to work around this issue. These hacks are enabled for a Windows build but not for Cygwin. I've attempted to port these hacks to Cygwin, but I may have missed an error code or three, thus not retrying some errors that should be retried. Are you using Cygwin 1.5 or 1.7? I have disabled this hack in the 1.7 build because I was hoping 1.7's more robust file renaming and deleting code would come to the rescue. If you're using 1.7, I can roll another build with the hack enabled to see if that helps. If you're using 1.5, I'll need your help to debug this so I can adjust the hack to retry in this case. I only see the problem occasionally here. -- David Rothenberger daver...@acm.org "Tell the truth and run." -- Yugoslav proverb -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/
FAQ 4.46, applications interfere with subversion or not?
Hello, When using cygwin's cvs2svn with subversion (1.6.2 r37639) while running Avira AntiVir (http://www.avira.com/en/pages/index.php), svnadmin is failing sporadically due to permission failure moving files. Reading up on FAQ and mailing lists, I found that 3rd party software like antivirus programs would be the cause. However, I installed subversion for windows from here: http://subversion.tigris.org/servlets/ProjectDocumentList?folderID=8100 (also 1.6.2 r37639), and after modifying cygwin's PATH to use it, the problem went away without touching antivir. I wonder why cygwin's subversion/binaries seems to have issues with antivir, while others do not.. rather looks like a cygwin issue on first glance.. can anyone shed light on this? -Marco -- View this message in context: http://www.nabble.com/FAQ-4.46%2C-applications-interfere-with-subversion-or-not--tp23853503p23853503.html Sent from the Cygwin list mailing list archive at Nabble.com. -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/