darcs

Issue 2589 darcs 2.14 removed --no-files option from 'show repo' and broke Meld support

Title darcs 2.14 removed --no-files option from 'show repo' and broke Meld support
Priority Status unknown
Milestone Resolved in
Superseder Nosy List pbgc
Assigned To
Topics

Created on 2018-06-02.16:48:16 by pbgc, last changed 2018-06-02.16:50:14 by pbgc.

Messages
msg20140 (view) Author: pbgc Date: 2018-06-02.16:48:14
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@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@gmail.com>**20180404141317
 Ignore-this: 8d6e4b0590002fbe7b0a1d1299d4b
]

[branch-2.14: fix cabal sdist on newer Cabals
Guillaume Hoffmann <guillaumh@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@gmail.com>**20180404141149
 Ignore-this: 6181e294bb45bb98b7c9e481990534c0
]


4. What operating system are you running?

macOS 10.13.4
msg20141 (view) Author: pbgc Date: 2018-06-02.16:50:12
Now that I submitted the issue .... I'm thinking this is more a issue
with Meld than Darcs ...
I will try to fix this and make a PR on Meld.
History
Date User Action Args
2018-06-02 16:48:16pbgccreate
2018-06-02 16:50:14pbgcsetmessages: + msg20141