darcs

Issue 1196 Asking for changes in /. of directory that doesn't exist gives changes in entire repo

Title Asking for changes in /. of directory that doesn't exist gives changes in entire repo
Priority bug Status resolved
Milestone Resolved in
Superseder Nosy List darcs-devel, dmitry.kurochkin, kowey, thorkilnaur, tux_rocker
Assigned To tux_rocker
Topics

Created on 2008-11-03.22:06:27 by tux_rocker, last changed 2009-08-27.14:13:42 by admin.

Messages
msg6576 (view) Author: tux_rocker Date: 2008-11-03.22:06:24
See this interaction of me with darcs:

reinier@adim:~/Sources/darcs-unstable$ darcs w thisdirdoesntexist/.
hunk ./tests/whatsnew-file.sh 55
-darcs wh foo foo/../foo/. > out
-cat out
-grep date out | wc -l | grep 1
+# This one fails actually, but it's not my fault. Filing a bug.
+#darcs wh foo foo/../foo/. > out
+#cat out
+#grep date out | wc -l | grep 1

I ask for changes in "thisdirdoesntexist/.", but instead it gives me all changes
in the repo. I traced the problem to the point that I found out that
Darcs.RepoPath.ioAbsolute returns "" when given "thisdirdoesntexist/." as input.
This "" is interpreted as "give me all changes" by subsequent functions.
msg6728 (view) Author: tux_rocker Date: 2008-11-23.21:46:29
Apparently fixed by Eric's work on removing dependencies on UglyFileName.
History
Date User Action Args
2008-11-03 22:06:27tux_rockercreate
2008-11-15 20:25:19tux_rockersetnosy: kowey, dagit, simon, thorkilnaur, tux_rocker, dmitry.kurochkin
assignedto: tux_rocker
2008-11-23 21:46:33tux_rockersetstatus: unknown -> resolved
nosy: kowey, dagit, simon, thorkilnaur, tux_rocker, dmitry.kurochkin
messages: + msg6728
2009-08-10 23:50:21adminsetnosy: - dagit
2009-08-25 17:33:28adminsetnosy: + darcs-devel, - simon
2009-08-27 14:13:42adminsetnosy: kowey, darcs-devel, thorkilnaur, tux_rocker, dmitry.kurochkin