Commit Graph

11 Commits

Author SHA1 Message Date
Augie Fackler
94a7ecbe68 Reorganize to have a more conventional module structure.
This means that hgsubversion now uses absolute imports instead of
relative ones, which makes the tests more reliable.
2009-05-13 21:39:39 -05:00
Patrick Mezard
e2670e5557 svnexternals: do not use peg revisions as --rev replacements
Peg revisions are now parsed separately. If a revision is supplied but not a
peg revision, we used the former as peg revision, as subversion seems to do.
2009-05-03 21:42:44 -05:00
Patrick Mezard
47213a3ea8 Add 'updateexternals' to synchronize externals with remote repo.
To synchronize definitions in working copy .hgexternals with remote svn
repository:

$ hg svn updateexternals

To synchronize them with .hgexternals at revision REV:

$ hg svn updateexternals REV

Last synchronized externals referenced are stored in .hg/svn/externals (a dump
of the synchronized .hgexternals).
2009-04-22 23:24:58 +02:00
Augie Fackler
648006ec19 branches: change handling again, but this time a little less magic.
This change means that files located in the actual branches directory will now be wholly
ignored. If we want to handle those correctly, it will take a reasonably large amount of work
and probably a configuration flag. Also, any non-related paths outside of branches/trunk will
be explicitly ignored, which is similar to the somewhat accidental pre-branch-refactor
behavior. Finally, any unrelated files located as children of branches will cause the directory
in branches to be used as the branch - not, as recently was the case, the directory immediately
containing that file.
2009-03-28 16:38:57 -05:00
Augie Fackler
9bb1cfc43f Stopped idiotic filtering of revisions that did not edit something branches/tags/trunk.
Fixed a bunch of tests as a result. This likely will make new conversions of some repos have new revisions in them.
2009-03-27 16:56:07 -05:00
Augie Fackler
7c17f8a473 Remove useless imports. 2009-01-21 20:29:23 -06:00
Patrick Mezard
91ce6eb557 Do not recurse for externals on copied directory in stupid mode
We inherit the source externals, changes to children will appear in the
changelog.
2009-01-14 23:17:13 -06:00
Patrick Mezard
f3f120cc99 test_externals: test branch copy, use absolute externals 2009-01-14 23:17:12 -06:00
Patrick Mezard
c17e74afd3 Really delete the .hgsvnexternals file when explicitely removed 2009-01-02 15:54:06 -06:00
Patrick Mezard
5629bbe05a Support svn:externals changes via .hgsvnexternals updates 2009-01-02 15:54:05 -06:00
Patrick Mezard
ae52abfad6 Convert svn:externals properties into a .hgsvnexternals file 2009-01-02 15:54:05 -06:00