Commit Graph

27 Commits

Author SHA1 Message Date
Augie Fackler
053f69ee89 push: Converted a magic number to an actual constant, and catch another apr_err that appears to also mean base text out of date. 2009-03-03 10:13:40 -06:00
Dan Villiom Podlaski Christiansen
02b49dedf8 Creating patch for documention messages. 2009-01-17 15:30:37 -06:00
Benoit Boissinot
e9bbb4b6f5 remove decorators (compat with python2.3) 2009-01-13 13:59:50 +01:00
Patrick Mezard
5629bbe05a Support svn:externals changes via .hgsvnexternals updates 2009-01-02 15:54:05 -06:00
Patrick Mezard
b5fa04611f push_cmd: make _isdir() a standalone function 2008-12-30 20:34:03 -06:00
Patrick Mezard
0b49ad0f17 push_cmd: do not store files to delete content
File content is used to set mime-types and compute deltas. Both are useless for
files to delete.
2008-12-30 20:33:58 -06:00
Martin Geisler
e76f623bb9 Combine sort and reverse. 2008-12-30 19:24:16 -06:00
Augie Fackler
0bf53be828 push: Fix the bad implementation that required modifying the dirstate to push. 2008-12-22 21:22:11 -06:00
Augie Fackler
7c015a9586 push: Use a better method for finding the outgoing revisions. 2008-12-22 21:21:39 -06:00
Augie Fackler
59a1a426b6 push: Improved the rebasing logic for push so that it doesn't break with
keeping branch names during rebase.
2008-12-22 21:21:11 -06:00
Augie Fackler
8c5f2ca7f0 Refactored outgoing_revisions into util where it really belongs. 2008-11-21 16:11:24 -06:00
Patrick Mezard
bb6cd594bf push_cmd: add option to push in stupid mode
This is mostly useful for test coverage, to roundtrip in stupid mode.
2008-11-14 16:18:24 -06:00
Patrick Mezard
f9ee55239f push_cmd: consider only dirs with added/removed files for addition or deletion 2008-11-14 16:18:24 -06:00
Patrick Mezard
f1278f2869 push_cmd: delete empty svn directories, refactor directory creation 2008-11-14 16:18:24 -06:00
Patrick Mezard
8162f33ac0 push_cmd: handle copies at file level
Mercurial store knows only file-level copies, directory copies are handle with
heuristics. Implement the former one in svn backends.
2008-11-05 13:37:08 +01:00
Augie Fackler
5cb73e2d8d push: Fix missing directory creation for the case of a new dir inside a new dir. 2008-11-09 17:02:07 -06:00
Augie Fackler
dee222b7e9 push_cmd: Further simplified some logic thanks to an improved test. 2008-11-06 09:24:33 -06:00
Augie Fackler
2aaa8bc830 Fixed a problem where if you edited an existing symlink by replacing with another symlink, things would get corrupt. 2008-11-06 09:07:13 -06:00
Augie Fackler
ec1400920b Don't try and add a directory more than once. 2008-11-03 14:24:18 -06:00
Patrick Mezard
f9ed91e8ea push_cmd: remove redundant variable in commit_from_rev() 2008-11-03 08:44:31 -06:00
Augie Fackler
063f1b9861 Fix an encoding bug that would occur if the local encoding was not utf-8. 2008-10-28 11:39:36 -05:00
Augie Fackler
5911c3a32d Some more fixes of cases discovered in the melange repo. If anyone knows how I can reproduce a "replaced" state in Subversion, I'd love to be able to make a real test case for this code. 2008-10-26 22:06:13 -05:00
Augie Fackler
fdc7ff5b1c Fix partial implementation. 2008-10-06 14:14:50 -05:00
Augie Fackler
3495c70f67 Auto-set executable, symlink, and auto-props. 2008-10-06 13:52:10 -05:00
Augie Fackler
7e0ef18aaf Fix adding files that require new directories. 2008-10-06 11:01:46 -05:00
Augie Fackler
13225e8b82 Fixes for win32 compatibility. Changes suggested by Shun-ichi GOTO, with some alterations by me. 2008-10-02 09:13:08 -05:00
Augie Fackler
7b76bdbc02 Initial import of hgsubversion into a public repository. 2008-09-30 11:42:52 -05:00