List Info

Thread: status of an "added" file and URL




status of an "added" file and URL
user name
2007-07-20 02:17:34
Howdy! I'd been happily hacking my small python scripts with pysvn bindings, but yesterday I hit some kind of a problem. Say I'm getting a list of all SVN entries in a directory /home/user/svnwc/foo/bar/, and /home/user/svnwc/ is a working copy of https://myhost/svn/repos/ for status in client.status('/home/user/svnwc/foo/bar/', recurse=True, get_all=True, update=True, ignore=False, ignore_externals=True): now if I have files in https://myhost/svn/repos/foo/bar added by somebody else, i.e. they are not in my working copy yet, I'll get status.repos_text_status == pysvn.wc_status_kind.added and status.entry == none but then I can't get the URL of the added file. I could do https://myhost/svn/repos/foo/bar+os.path.basename(status.path), but that seems to be too hackish. Any idea on how I should be getting it? Many thanks! Denis.
[1]

about | contact  Other archives ( Real Estate discussion Medical topics )