[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kdevelop-bugs
Subject:    [Bug 106706] New: local filenames are http escaped when using svn over http.
From:       kdevelop-bugs-admin () barney ! cs ! uni-potsdam ! de
Date:       2005-06-03 0:40:00
Message-ID: 20050603023958.106706.hattons () globalsymmetry ! com
[Download RAW message or body]

------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
         
http://bugs.kde.org/show_bug.cgi?id=106706         
           Summary: local filenames are http escaped when using svn over
                    http.
           Product: kdevelop
           Version: CVS
          Platform: unspecified
        OS/Version: Linux
            Status: UNCONFIRMED
          Severity: normal
          Priority: NOR
         Component: general
        AssignedTo: kdevelop-bugs kdevelop org
        ReportedBy: hattons globalsymmetry com


Version:           CVS (using KDE \
                3.4.1%20Level%20%22a%22%20,%20SUSE%209.2%20UNSUPPORTED)
Compiler:          gcc%20version%203.3.4%20(pre%203.3.5%2020040809)
OS:                Linux%20(i686)%20release%202.6.8-24.14-default

The following did _not_ happen when I created a project without SVN version control.

When creating a (C++ simple hello world) project, selecting svn for version control \
and pointing it to an http svn server, local file names (<path>/c++/<project>) are \
escaped as if they were http strings. For example:

code/c++/gs/

becomes:

code/c%2B%2B/gs/

and the latter is what is used when Kdevelop tries to write to the local file system. \
I found that the string is stored in the customized.kdevses as this:

<Doc0 NumberOfViews="1" \
URL="file:///home/hattons/code/c%2B%2B/gs/customized/src/customized.cpp" >

I attempted to recreate the project and was able to capture this error message, which \
I believe briefly flashed up the first time:

_______________________________________________________________________________
Warning: The file "/home/hattons/code/c++/gs/customized/src/customized.cpp" has been \
deleted on disk. If this was not your intention, make sure to save this file now.
________________________________________________________________________________

When these things happen, nothing but three configuration file are written to the \
harddrive. These are:

customized.kdevelop  customized.kdevelop.pcs  customized.kdevses

The following is from the terminal output of Kdevelop:

ASSERT: "part && parent" in partwidget.cpp (40)
ERROR: syntax error
ERROR: syntax error
ERROR: syntax error
kdevelop (file view): Requested FileTree for: /home/hattons/code/c++/gs/customized
ERROR: syntax error
ERROR: syntax error
ERROR: syntax error
ERROR: syntax error
kdevelop: dirpath /home/hattons/code/c++/gs/customized/.svn/false
kdevelop: entries /home/hattons/code/c++/gs/customized/.svn/entriesfalse
kdevelop (file view): Valid VCS directory: false
ERROR: syntax error
ERROR: syntax error
ERROR: syntax error
ERROR: syntax error
kdevelop: dirpath /home/hattons/code/c++/gs/customized/.svn/false
kdevelop: entries /home/hattons/code/c++/gs/customized/.svn/entriesfalse
kdevelop (file view): FileTreeViewWidgetImpl::FileTreeViewWidgetImpl()
kdevelop (file view): StdFileTreeWidgetImpl::StdFileTreeWidgetImpl()
kdevelop (file view): FileTreeWidget::openDirectory(): \
/home/hattons/code/c++/gs/customized kdevelop (file view): files added to project: 1
kdevelop (file view): MyFileTreeViewItem::hideOrShow(): \
/home/hattons/code/c++/gs/customized kdevelop (file view): \
MyFileTreeViewItem::hideOrShow(): /home/hattons/code/c++/gs/customized/src kdevelop \
(file view): MyFileTreeViewItem::hideOrShow(): \
/home/hattons/code/c++/gs/customized/NEWS kdevelop (file view): \
MyFileTreeViewItem::hideOrShow(): /home/hattons/code/c++/gs/customized/TODO kdevelop \
(file view): MyFileTreeViewItem::hideOrShow(): \
/home/hattons/code/c++/gs/customized/depcomp kdevelop (file view): \
MyFileTreeViewItem::hideOrShow(): /home/hattons/code/c++/gs/customized/README \
kdevelop (file view): MyFileTreeViewItem::hideOrShow(): \
/home/hattons/code/c++/gs/customized/ltmain.sh kdevelop (file view): \
MyFileTreeViewItem::hideOrShow(): /home/hattons/code/c++/gs/customized/configure.in \
kdevelop (file view): MyFileTreeViewItem::hideOrShow(): \
/home/hattons/code/c++/gs/customized/config.guess kdevelop (file view): \
MyFileTreeViewItem::hideOrShow(): /home/hattons/code/c++/gs/customized/install-sh \
kdevelop (file view): MyFileTreeViewItem::hideOrShow(): \
/home/hattons/code/c++/gs/customized/config.sub kdevelop (file view): \
MyFileTreeViewItem::hideOrShow(): /home/hattons/code/c++/gs/customized/missing \
kdevelop (file view): MyFileTreeViewItem::hideOrShow(): \
/home/hattons/code/c++/gs/customized/customized.kdevses kdevelop (file view): \
MyFileTreeViewItem::hideOrShow(): /home/hattons/code/c++/gs/customized/mkinstalldirs \
kdevelop (file view): MyFileTreeViewItem::hideOrShow(): \
/home/hattons/code/c++/gs/customized/Makefile.am kdevelop (file view): \
MyFileTreeViewItem::hideOrShow(): /home/hattons/code/c++/gs/customized/Makefile.cvs \
kdevelop (file view): MyFileTreeViewItem::hideOrShow(): \
/home/hattons/code/c++/gs/customized/AUTHORS kdevelop (file view): \
MyFileTreeViewItem::hideOrShow(): /home/hattons/code/c++/gs/customized/INSTALL \
kdevelop (file view): MyFileTreeViewItem::hideOrShow(): \
/home/hattons/code/c++/gs/customized/customized.kdevelop kdevelop (file view): \
MyFileTreeViewItem::hideOrShow(): /home/hattons/code/c++/gs/customized/ChangeLog \
kdevelop (file view): MyFileTreeViewItem::hideOrShow(): \
/home/hattons/code/c++/gs/customized/COPYING kdevelop (file view): \
MyFileTreeViewItem::hideOrShow(): /home/hattons/code/c++/gs/customized/Doxyfile \
kdevelop (file view): MyFileTreeViewItem::hideOrShow(): \
/home/hattons/code/c++/gs/customized/templates kdevelop (core): [void \
PartController::slotDocumentDirty(Kate::Document*, bool, unsigned char)]  kdevelop \
(core): file:///home/hattons/code/c%2B%2B/gs/customized/src/customized.cpp kdevelop \
(core): true kdevelop (core): \x03
shell-init: error retrieving current directory: getcwd: cannot access parent \
directories: No such file or directory


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic