[darcs-devel] [issue2589] darcs 2.14 removed --no-files option from 'show repo' and broke Meld support

Pedro Costa bugs at darcs.net
Sat Jun 2 16:48:16 UTC 2018


New submission from Pedro Costa <pbgcosta at gmail.com>:

1. Summarise the issue (what were doing, what went wrong?)

Trying to use darcs support in meld 3.16 on OSX. It works with darcs
2.12 but says "Invalid repository" with 2.14.

Meld darcs support code executes:

    @classmethod
    def valid_repo(cls, path):
        return not _vc.call([cls.CMD, "show", "repo", "--no-files"],
cwd=path)

that fails in 2.14:

darcs show repo --no-files
command line: unrecognized option `--no-files

but works on 2.12:

darcs2.12 show repo --no-files
        Format: hashed, darcs-2
          Root: /Users/pbeck/Development/projects/proj3
      Pristine: HashedPristine
         Cache: thisrepo:/Users/pbeck/Development/projects/proj3,
cache:/Users/pbeck/Library/Caches/darcs, readonly:/Users/pbeck/.darcs/cache
Default Remote: pbgc at hub.darcs.net:pbgc/proj3


2. What behaviour were you expecting instead?



3. What darcs version are you using? (Try: darcs --exact-version)

darcs --exact-version
darcs compiled on May 13 2018, at 18:01:30

Weak Hash: not available

Context:

[branch-2.14: disable network tests
Guillaume Hoffmann <guillaumh at gmail.com>**20180404141317
 Ignore-this: 8d6e4b0590002fbe7b0a1d1299d4b
]

[branch-2.14: fix cabal sdist on newer Cabals
Guillaume Hoffmann <guillaumh at gmail.com>**20180404141206
 Ignore-this: 69de5e3a3c40f4fc94536db0e7f276a9
 The trick we found is to remove other-modules: Version from
 the darcs executable.
]

[TAG 2.14.0
Guillaume Hoffmann <guillaumh at gmail.com>**20180404141149
 Ignore-this: 6181e294bb45bb98b7c9e481990534c0
]


4. What operating system are you running?

macOS 10.13.4

----------
messages: 20140
nosy: pbgc
status: unknown
title: darcs 2.14 removed --no-files option from 'show repo' and broke Meld support

__________________________________
Darcs bug tracker <bugs at darcs.net>
<http://bugs.darcs.net/issue2589>
__________________________________


More information about the darcs-devel mailing list