Using .Mac iDisk for subversion (svn) repository?

  • Hi all,

    May not be quite the right list to ask this question on, but here goes:

    I have a dot mac (.Mac) account and would like to use my iDisk to
    store my subversion repository for Cocoa development (hence the
    connection to this list!).  Googling around, it appears that this has
    been done by people in the past, and it seems that it should be
    possible since it just uses webdav and mounts in /Volumes/, but I
    can't make it work.

    Has anyone else on the list had any experience using your iDisk for
    your svn repository?  I can check out files from the repository I put
    on my iDisk (in the Documents folder), but I am unable to commit files.

    I used this command to checkout my local working copy:

    svn co file:///Volumes/mydotmacusername/Documents/svn/repository/Software/MyProjectName/trunk/

    Every commit gives me an error like this:

    Macintosh:trunk ryan$ svn commit -m "no comment"
    Sending        trunk/test.txt
    Transmitting file data .svn: Commit failed (details follow):
    svn: Can't get exclusive lock on file '/Volumes/mydotmacusername/
    Documents/svn/repository/db/transactions/238-1.txn/rev-lock':
    Operation not supported

    Any ideas would be appreciated.  My best guess is that the new version
    of svn included with Leopard is smarter than the old one and realizes
    that there's a problem with using the iDisk.  I hope to be proved wrong!

    PS: I'm on Leopard, 10.5.0  9A581 (the public release) with subversion
    version 1.4.4 (r25188).
  • The Xcode list would be the correct list...

    Dave

    On Nov 5, 2007, at 9:05 AM, Ryan Poling wrote:

    > Hi all,
    >
    > May not be quite the right list to ask this question on, but here
    > goes:
    >
    > I have a dot mac (.Mac) account and would like to use my iDisk to
    > store my subversion repository for Cocoa development (hence the
    > connection to this list!).  Googling around, it appears that this
    > has been done by people in the past, and it seems that it should be
    > possible since it just uses webdav and mounts in /Volumes/, but I
    > can't make it work.
    >
    > Has anyone else on the list had any experience using your iDisk for
    > your svn repository?  I can check out files from the repository I
    > put on my iDisk (in the Documents folder), but I am unable to commit
    > files.
    >
    > I used this command to checkout my local working copy:
    >
    > svn co file:///Volumes/mydotmacusername/Documents/svn/repository/Software/MyProjectName/trunk/
    >
    > Every commit gives me an error like this:
    >
    > Macintosh:trunk ryan$ svn commit -m "no comment"
    > Sending        trunk/test.txt
    > Transmitting file data .svn: Commit failed (details follow):
    > svn: Can't get exclusive lock on file '/Volumes/mydotmacusername/
    > Documents/svn/repository/db/transactions/238-1.txn/rev-lock':
    > Operation not supported
    >
    > Any ideas would be appreciated.  My best guess is that the new
    > version of svn included with Leopard is smarter than the old one and
    > realizes that there's a problem with using the iDisk.  I hope to be
    > proved wrong!
    >
    > PS: I'm on Leopard, 10.5.0  9A581 (the public release) with
    > subversion version 1.4.4 (r25188).
    >
  • On Mon, 05 Nov 2007 18:05:55 +0100, Ryan Poling <rjpoling...> wrote:

    > Macintosh:trunk ryan$ svn commit -m "no comment"
    > Sending        trunk/test.txt
    > Transmitting file data .svn: Commit failed (details follow):
    > svn: Can't get exclusive lock on file '/Volumes/mydotmacusername/
    > Documents/svn/repository/db/transactions/238-1.txn/rev-lock': Operation
    > not supported
    >
    > Any ideas would be appreciated.  My best guess is that the new version
    > of svn included with Leopard is smarter than the old one and realizes
    > that there's a problem with using the iDisk.  I hope to be proved wrong!

    The error message say it all: svn is trying to lock a file, but webdav
    doesn't support it. CVS on iDisk will work, it doesn't require file system
    locks. Unless I'm unaware of an svn option that would tell it to not use
    locks, I'd say the only way of getting it to work would be patching and
    building your own svn executable.

    I'd love to be proven wrong, but I've tried the same about a year ago and
    concluded that it doesn't work.

    -Stefan
  • Yeah, that's what I was afraid of.  Thanks.

    -Ryan

    On Nov 5, 2007, at 9:22 AM, Stefan Werner wrote:

    > On Mon, 05 Nov 2007 18:05:55 +0100, Ryan Poling <rjpoling...>
    > wrote:
    >
    >> Macintosh:trunk ryan$ svn commit -m "no comment"
    >> Sending        trunk/test.txt
    >> Transmitting file data .svn: Commit failed (details follow):
    >> svn: Can't get exclusive lock on file '/Volumes/mydotmacusername/
    >> Documents/svn/repository/db/transactions/238-1.txn/rev-lock':
    >> Operation not supported
    >>
    >> Any ideas would be appreciated.  My best guess is that the new
    >> version of svn included with Leopard is smarter than the old one
    >> and realizes that there's a problem with using the iDisk.  I hope
    >> to be proved wrong!
    >
    > The error message say it all: svn is trying to lock a file, but
    > webdav doesn't support it. CVS on iDisk will work, it doesn't
    > require file system locks. Unless I'm unaware of an svn option that
    > would tell it to not use locks, I'd say the only way of getting it
    > to work would be patching and building your own svn executable.
    >
    > I'd love to be proven wrong, but I've tried the same about a year
    > ago and concluded that it doesn't work.
    >
    > -Stefan
previous month november 2007 next month
MTWTFSS
      1 2 3 4
5 6 7 8 9 10 11
12 13 14 15 16 17 18
19 20 21 22 23 24 25
26 27 28 29 30    
Go to today