#1
  1. No Profile Picture
    Registered User
    Devshed Newbie (0 - 499 posts)

    Join Date
    Mar 2013
    Posts
    6
    Rep Power
    0

    Post Getting Error while using pysvn:propget()


    In My python script i have use propget() API to get the properties for particular target url,

    root = "...."
    prop_list = svncl.propget( "Test",
    root,
    revision=pysvn.Revision(pysvn.opt_revision_kind.number, 42),
    recurse=False,
    peg_revision=pysvn.Revision( pysvn.opt_revision_kind.number, 42 ),
    depth="empty" )

    But getting following error while running the script,

    TypeError: propget() cannot mix depth and recurse

    Thanks in Advance
  2. #2
  3. No Profile Picture
    Contributing User
    Devshed Newbie (0 - 499 posts)

    Join Date
    Feb 2013
    Posts
    138
    Rep Power
    2
    Originally Posted by satheesh17
    In My python script i have use propget() API to get the properties for particular target url,

    root = "...."
    prop_list = svncl.propget( "Test",
    root,
    revision=pysvn.Revision(pysvn.opt_revision_kind.number, 42),
    recurse=False,
    peg_revision=pysvn.Revision( pysvn.opt_revision_kind.number, 42 ),
    depth="empty" )

    But getting following error while running the script,

    TypeError: propget() cannot mix depth and recurse

    Thanks in Advance
    It doesn't seem to like that you've specified both "recurse" and "depth" in your propget() call, so I suggest that you remove one of those and try again.
  4. #3
  5. No Profile Picture
    Registered User
    Devshed Newbie (0 - 499 posts)

    Join Date
    Mar 2013
    Posts
    6
    Rep Power
    0
    Originally Posted by partoj
    It doesn't seem to like that you've specified both "recurse" and "depth" in your propget() call, so I suggest that you remove one of those and try again.
    Ya Now its working.... Thanks partoj...

IMN logo majestic logo threadwatch logo seochat tools logo