view tests/test-paths.t @ 12059:0de6cfdcaad8

webcommands: remove unncessary access to repo.changelog changectx are good enough in these cases and their interface is more stable.
author Patrick Mezard <pmezard@gmail.com>
date Thu, 26 Aug 2010 23:38:13 +0200
parents 7d9be960cd9a
children 4134686b83e1
line wrap: on
line source

  $ hg init a
  $ hg clone a b
  updating to branch default
  0 files updated, 0 files merged, 0 files removed, 0 files unresolved
  $ cd a
  $ echo '[paths]' >> .hg/hgrc
  $ echo 'dupe = ../b' >> .hg/hgrc
  $ hg in dupe
  comparing with .*/test-paths.t/b
  no changes found
  $ cd ..
  $ hg -R a in dupe
  comparing with .*/test-paths.t/b
  no changes found
  $ true