view tests/test-paths.t @ 12269:877236cdd437

add: move main part to cmdutil to make it easier to reuse
author Martin Geisler <mg@lazybytes.net>
date Mon, 13 Sep 2010 13:09:11 +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