Show More
@@ -328,8 +328,7 b' def demo(ui, repo, *args, **opts):' | |||
|
328 | 328 | ui.note('\nhg -R "%s" branch "%s"\n' % (tmpdir, branchname)) |
|
329 | 329 | # silence branch command if not verbose |
|
330 | 330 | quiet = ui.quiet |
|
331 |
|
|
|
332 | ui.quiet = not verbose | |
|
331 | ui.quiet = not ui.verbose | |
|
333 | 332 | commands.branch(ui, repo, branchname) |
|
334 | 333 | ui.quiet = quiet |
|
335 | 334 | for name, cmd in ui.configitems('hooks'): |
@@ -363,10 +362,9 b' def files(ui, repo, *pats, **opts):' | |||
|
363 | 362 | ''' |
|
364 | 363 | status = _status(ui, repo, *pats, **opts) |
|
365 | 364 | modified, added, removed, deleted, unknown, ignored, clean = status |
|
365 | files = modified + added + clean | |
|
366 | 366 | if opts.get('untracked'): |
|
367 |
files = |
|
|
368 | else: | |
|
369 | files = modified + added + clean | |
|
367 | files += unknown | |
|
370 | 368 | files.sort() |
|
371 | 369 | kwfiles = [f for f in files if _iskwfile(f, repo._link)] |
|
372 | 370 | cwd = pats and repo.getcwd() or '' |
General Comments 0
You need to be logged in to leave comments.
Login now