[darcs-devel] [issue1073] darcs 2.0.2: whatsnew -l / boringfile filename matters?
Claus Reinke
bugs at darcs.net
Fri Sep 12 15:39:41 UTC 2008
New submission from Claus Reinke <claus.reinke at talk21.com>:
Continuing the adventures from issue534, now with darcs 2.
The idea is to use 'darcs whatnew -l' to find generated files in a
ghc repo tree. I can't just use '--boring' because we still want to
ignore sub-repos and some other stuff, so I have an alternative
shortened boringfile (attached) for this task.
What happens is that
- after 'darcs setpref boringfile .darcs-subrepos',
'darcs whatsnew -l' gets stuck, and has to be interrupted
- after just copying '.darcs-subrepos' over '.darcs-boring' instead,
'darcs whatsnew -l' is able to make progress
$ darcs query repo
Type: darcs
Format: darcs-1.0
Root: d:/fptools/ghc
Pristine: PlainPristine "_darcs/pristine"
Cache: thisrepo:d:/fptools/ghc
boringfile Pref: .darcs-boring
Author: claus.reinke
Default Remote: http://darcs.haskell.org/ghc
Num Patches: 19466
First copy '.darcs-boring' somewhere safe, then copy
'.darcs-subrepos' to '.darcs-boring'
$ darcs --version
2.0.2 (+ 76 patches)
$ time darcs wh -l -v --debug | head
Beginning identifying repository .
Done identifying repository .
Identified darcs-1 repo: d:/fptools/ghc
Looking for unrecorded changes...
Found unrecorded changes.
Looking for unrecorded changes...
Found unrecorded changes.
diffing dir...
diffing dir...
M ./.darcs-boring -249 +52
M ./darcs-all -2 +68
a ./compiler/cmm/CmmLex.hs
a ./compiler/cmm/CmmParse.hs
a ./compiler/dist-stage1/
a ./compiler/dist-stage1/build/
a ./compiler/dist-stage1/build/AsmCodeGen.hi
a ./compiler/dist-stage1/build/AsmCodeGen.o
real 1m13.265s
user 0m0.346s
sys 0m0.198s
$ darcs setpref boringfile .darcs-subrepos
Changing value of boringfile from '.darcs-boring' to '.darcs-subrepos'
$ time darcs wh -l -v --debug | head
Beginning identifying repository .
Done identifying repository .
Identified darcs-1 repo: d:/fptools/ghc
Looking for unrecorded changes...
withSignalsHandled: Interrupted!
diffing dir...
real 2m37.272s
user 0m0.378s
sys 0m0.213s
$ uname -a
CYGWIN_NT-5.1 cr3-lt 1.5.25(0.156/4/2) 2008-06-12 19:34 i686 Cygwin
$ diff .darcs-boring .darcs-subrepos
Claus
----------
files: .darcs-subrepos
messages: 5994
nosy: claus.reinke, dagit, kowey
status: unread
title: darcs 2.0.2: whatsnew -l / boringfile filename matters?
__________________________________
Darcs bug tracker <bugs at darcs.net>
<http://bugs.darcs.net/issue1073>
__________________________________
-------------- next part --------------
A non-text attachment was scrubbed...
Name: .darcs-subrepos
Type: application/octet-stream
Size: 1364 bytes
Desc: not available
Url : http://lists.osuosl.org/pipermail/darcs-devel/attachments/20080912/9afcd889/attachment.obj
More information about the darcs-devel
mailing list