summaryrefslogtreecommitdiff
path: root/rdiff-backup/rdiff_backup
Commit message (Collapse)AuthorAgeFilesLines
* Don't set modification times for directories on Windows. Also, assumeowsla2008-06-101-1/+9
| | | | | | | | that user has access to all files on Windows since there is no support for getuid(). (Patch from Josh Nisly) git-svn-id: http://svn.savannah.nongnu.org/svn/rdiff-backup/trunk@888 2b77aa54-bcbc-44c9-a7ec-4f6cf2b41109
* Add Windows-specific logic for checking if another rdiff-backup processowsla2008-06-102-1/+21
| | | | | | | | is running. Do not try to handle non-existant SIGHUP and SIGQUIT signals on Windows. (Patch from Josh Nisly) git-svn-id: http://svn.savannah.nongnu.org/svn/rdiff-backup/trunk@887 2b77aa54-bcbc-44c9-a7ec-4f6cf2b41109
* Do not use inode numbers on Windows and gracefully handle attempts toowsla2008-06-102-3/+20
| | | | | | | rename over existing files on Windows. (Patch from Josh Nisly) git-svn-id: http://svn.savannah.nongnu.org/svn/rdiff-backup/trunk@886 2b77aa54-bcbc-44c9-a7ec-4f6cf2b41109
* Finally fix 'No such file or directory' bug when attempting to regress afterowsla2008-05-091-3/+4
| | | | | | | a failed backup. (Patch from Josh Nisly) git-svn-id: http://svn.savannah.nongnu.org/svn/rdiff-backup/trunk@885 2b77aa54-bcbc-44c9-a7ec-4f6cf2b41109
* Improve Unicode support when logging in eas_acls.py (Fix from Saptarshi Guha)owsla2008-04-241-3/+3
| | | | git-svn-id: http://svn.savannah.nongnu.org/svn/rdiff-backup/trunk@884 2b77aa54-bcbc-44c9-a7ec-4f6cf2b41109
* Handle Windows' lack of getuid(), getgid(), hardlinks and symlinks inowsla2008-04-133-7/+19
| | | | | | | | fs_abilities.py. Use subproces.Popen() on Windows since it does not support os.popen2(). (Patch from Josh Nisly) git-svn-id: http://svn.savannah.nongnu.org/svn/rdiff-backup/trunk@883 2b77aa54-bcbc-44c9-a7ec-4f6cf2b41109
* Fix typo.owsla2008-04-081-1/+1
| | | | git-svn-id: http://svn.savannah.nongnu.org/svn/rdiff-backup/trunk@882 2b77aa54-bcbc-44c9-a7ec-4f6cf2b41109
* Get cmodule.c building natively on Windows (Patch from Josh Nisly)owsla2008-04-081-2/+17
| | | | git-svn-id: http://svn.savannah.nongnu.org/svn/rdiff-backup/trunk@880 2b77aa54-bcbc-44c9-a7ec-4f6cf2b41109
* Try chmod'ing again if we can't open a file -- let's rdiff-backup workowsla2008-01-281-1/+8
| | | | | | | better in some AFS and NFS installs. git-svn-id: http://svn.savannah.nongnu.org/svn/rdiff-backup/trunk@878 2b77aa54-bcbc-44c9-a7ec-4f6cf2b41109
* Whoops. Previous fix was incorrect -- it assumed that all of the nestedowsla2008-01-261-7/+4
| | | | | | | directories would be updated during the backup. git-svn-id: http://svn.savannah.nongnu.org/svn/rdiff-backup/trunk@877 2b77aa54-bcbc-44c9-a7ec-4f6cf2b41109
* When unreadable dirs are updated, remove them from the list of dirs whoseowsla2008-01-261-0/+9
| | | | | | | permissions need to be reset later since we do it during the backup. git-svn-id: http://svn.savannah.nongnu.org/svn/rdiff-backup/trunk@876 2b77aa54-bcbc-44c9-a7ec-4f6cf2b41109
* Improve the handling of directories with many small files by flushingowsla2008-01-201-9/+9
| | | | | | | | the pipeline more often. Fixes a bug where Globals.pipeline_max_length*4-1 files are in a directory causes KeyError. git-svn-id: http://svn.savannah.nongnu.org/svn/rdiff-backup/trunk@874 2b77aa54-bcbc-44c9-a7ec-4f6cf2b41109
* __str__ method for ACL's shouldn't fail on empty onesowsla2008-01-201-0/+1
| | | | git-svn-id: http://svn.savannah.nongnu.org/svn/rdiff-backup/trunk@873 2b77aa54-bcbc-44c9-a7ec-4f6cf2b41109
* Change high-bit permissions test to check files and directories. (Patch fromowsla2008-01-091-5/+10
| | | | | | | Marc Horowitz) git-svn-id: http://svn.savannah.nongnu.org/svn/rdiff-backup/trunk@872 2b77aa54-bcbc-44c9-a7ec-4f6cf2b41109
* Spelling fixowsla2008-01-091-1/+1
| | | | git-svn-id: http://svn.savannah.nongnu.org/svn/rdiff-backup/trunk@871 2b77aa54-bcbc-44c9-a7ec-4f6cf2b41109
* Be quieter about the xattr warningsowsla2008-01-071-1/+1
| | | | git-svn-id: http://svn.savannah.nongnu.org/svn/rdiff-backup/trunk@870 2b77aa54-bcbc-44c9-a7ec-4f6cf2b41109
* Recover from EBADF during fsync(). Closes Savannah bug #15839owsla2008-01-061-1/+1
| | | | git-svn-id: http://svn.savannah.nongnu.org/svn/rdiff-backup/trunk@868 2b77aa54-bcbc-44c9-a7ec-4f6cf2b41109
* Properly initialize QuotedRPathsowsla2008-01-051-1/+8
| | | | git-svn-id: http://svn.savannah.nongnu.org/svn/rdiff-backup/trunk@867 2b77aa54-bcbc-44c9-a7ec-4f6cf2b41109
* Add ability to requote a repositoryowsla2008-01-033-13/+113
| | | | git-svn-id: http://svn.savannah.nongnu.org/svn/rdiff-backup/trunk@863 2b77aa54-bcbc-44c9-a7ec-4f6cf2b41109
* Don't print the warning about hard links if the user has specified theowsla2008-01-021-2/+3
| | | | | | | --no-hard-links option. git-svn-id: http://svn.savannah.nongnu.org/svn/rdiff-backup/trunk@861 2b77aa54-bcbc-44c9-a7ec-4f6cf2b41109
* Print a more helpful error message when we get a "Result too large" errorowsla2007-12-251-1/+11
| | | | git-svn-id: http://svn.savannah.nongnu.org/svn/rdiff-backup/trunk@860 2b77aa54-bcbc-44c9-a7ec-4f6cf2b41109
* Fix bug where rdiff-backup fails after all increments are removed. Closesowsla2007-12-251-3/+2
| | | | | | | Savannah bug #20291. git-svn-id: http://svn.savannah.nongnu.org/svn/rdiff-backup/trunk@859 2b77aa54-bcbc-44c9-a7ec-4f6cf2b41109
* We should FatalError at the point where the malformed UTF-8 character isowsla2007-12-251-5/+6
| | | | | | | | first encountered, instead of catching it and then letting it cause more trouble down the road. git-svn-id: http://svn.savannah.nongnu.org/svn/rdiff-backup/trunk@858 2b77aa54-bcbc-44c9-a7ec-4f6cf2b41109
* The retry without sticky bit message should indicate that it is a warning.owsla2007-12-251-3/+3
| | | | git-svn-id: http://svn.savannah.nongnu.org/svn/rdiff-backup/trunk@857 2b77aa54-bcbc-44c9-a7ec-4f6cf2b41109
* - Replace is_readable() function with pre-existing readable() functionowsla2007-12-243-9/+12
| | | | | | | | - Close Savannah bug #21202 by not assuming that file cannot be opened even if read permissions don't indicate such. git-svn-id: http://svn.savannah.nongnu.org/svn/rdiff-backup/trunk@855 2b77aa54-bcbc-44c9-a7ec-4f6cf2b41109
* restore_set_root should check if it can read a directory before tryingowsla2007-12-232-1/+5
| | | | | | | to list the contents. Closes Savannah bug #21106 git-svn-id: http://svn.savannah.nongnu.org/svn/rdiff-backup/trunk@854 2b77aa54-bcbc-44c9-a7ec-4f6cf2b41109
* Regress.restore_orig_regfile should check Globals.fsync_directories Fixesowsla2007-12-231-1/+2
| | | | | | | bug #21546 git-svn-id: http://svn.savannah.nongnu.org/svn/rdiff-backup/trunk@853 2b77aa54-bcbc-44c9-a7ec-4f6cf2b41109
* Cosmetic touch-up since we now sometimes print non-ASCII charactersowsla2007-08-151-2/+2
| | | | git-svn-id: http://svn.savannah.nongnu.org/svn/rdiff-backup/trunk@852 2b77aa54-bcbc-44c9-a7ec-4f6cf2b41109
* New quoting logic to check for non-ASCII chars and Windows special chars ↵owsla2007-08-141-11/+42
| | | | | | independently. git-svn-id: http://svn.savannah.nongnu.org/svn/rdiff-backup/trunk@851 2b77aa54-bcbc-44c9-a7ec-4f6cf2b41109
* Support Unicode log messages.owsla2007-08-141-1/+2
| | | | git-svn-id: http://svn.savannah.nongnu.org/svn/rdiff-backup/trunk@850 2b77aa54-bcbc-44c9-a7ec-4f6cf2b41109
* More robust workaround for EFTYPE only being present on BSDowsla2007-08-131-2/+2
| | | | git-svn-id: http://svn.savannah.nongnu.org/svn/rdiff-backup/trunk@847 2b77aa54-bcbc-44c9-a7ec-4f6cf2b41109
* Python bug -- errno.EFTYPE is not defined, but necessary to check on BSDowsla2007-08-131-1/+2
| | | | git-svn-id: http://svn.savannah.nongnu.org/svn/rdiff-backup/trunk@845 2b77aa54-bcbc-44c9-a7ec-4f6cf2b41109
* Fix typoowsla2007-08-131-2/+2
| | | | git-svn-id: http://svn.savannah.nongnu.org/svn/rdiff-backup/trunk@844 2b77aa54-bcbc-44c9-a7ec-4f6cf2b41109
* Properly pickle QuotedRPathsowsla2007-08-092-1/+8
| | | | git-svn-id: http://svn.savannah.nongnu.org/svn/rdiff-backup/trunk@840 2b77aa54-bcbc-44c9-a7ec-4f6cf2b41109
* Warn if can't write extended attribute.owsla2007-08-091-0/+2
| | | | git-svn-id: http://svn.savannah.nongnu.org/svn/rdiff-backup/trunk@839 2b77aa54-bcbc-44c9-a7ec-4f6cf2b41109
* Handle failed attempts to set the sticky bitowsla2007-08-081-1/+13
| | | | git-svn-id: http://svn.savannah.nongnu.org/svn/rdiff-backup/trunk@838 2b77aa54-bcbc-44c9-a7ec-4f6cf2b41109
* Fix hang on Cygwin/FAT32 and error on broken CIFS configurationsowsla2007-07-311-5/+14
| | | | git-svn-id: http://svn.savannah.nongnu.org/svn/rdiff-backup/trunk@835 2b77aa54-bcbc-44c9-a7ec-4f6cf2b41109
* CIFS returns EOPNOTSUPP on symlink creationowsla2007-07-281-1/+1
| | | | git-svn-id: http://svn.savannah.nongnu.org/svn/rdiff-backup/trunk@834 2b77aa54-bcbc-44c9-a7ec-4f6cf2b41109
* Put the version number in logs with verbosity > 3owsla2007-07-261-0/+1
| | | | git-svn-id: http://svn.savannah.nongnu.org/svn/rdiff-backup/trunk@833 2b77aa54-bcbc-44c9-a7ec-4f6cf2b41109
* Fix "too many open files" bug when handling large directories.owsla2007-07-261-1/+1
| | | | git-svn-id: http://svn.savannah.nongnu.org/svn/rdiff-backup/trunk@832 2b77aa54-bcbc-44c9-a7ec-4f6cf2b41109
* Remove typo #2. I'm an idiot.owsla2007-07-211-2/+0
| | | | git-svn-id: http://svn.savannah.nongnu.org/svn/rdiff-backup/trunk@831 2b77aa54-bcbc-44c9-a7ec-4f6cf2b41109
* Oops -- don't require python2.5owsla2007-07-211-1/+3
| | | | git-svn-id: http://svn.savannah.nongnu.org/svn/rdiff-backup/trunk@830 2b77aa54-bcbc-44c9-a7ec-4f6cf2b41109
* Add --tempfile and --remote-tempfile options.owsla2007-07-183-4/+13
| | | | git-svn-id: http://svn.savannah.nongnu.org/svn/rdiff-backup/trunk@829 2b77aa54-bcbc-44c9-a7ec-4f6cf2b41109
* Don't run extended attributes test if --no-eas is givenowsla2007-07-171-0/+5
| | | | git-svn-id: http://svn.savannah.nongnu.org/svn/rdiff-backup/trunk@828 2b77aa54-bcbc-44c9-a7ec-4f6cf2b41109
* Handle exception when trying to clear extended attributes on a file thatowsla2007-07-161-11/+16
| | | | | | | doesn't support them. git-svn-id: http://svn.savannah.nongnu.org/svn/rdiff-backup/trunk@827 2b77aa54-bcbc-44c9-a7ec-4f6cf2b41109
* Use .dll as library file extension on Cygwin and Windows.owsla2007-07-121-3/+5
| | | | git-svn-id: http://svn.savannah.nongnu.org/svn/rdiff-backup/trunk@823 2b77aa54-bcbc-44c9-a7ec-4f6cf2b41109
* Avoid setting permissions to 000 because they're out of sync.owsla2007-07-121-0/+3
| | | | git-svn-id: http://svn.savannah.nongnu.org/svn/rdiff-backup/trunk@822 2b77aa54-bcbc-44c9-a7ec-4f6cf2b41109
* Technically, lpt[3-9] should also be quoted (see sys/fs/vfat/namei.c inowsla2007-07-111-2/+2
| | | | | | | Linux kernel) git-svn-id: http://svn.savannah.nongnu.org/svn/rdiff-backup/trunk@821 2b77aa54-bcbc-44c9-a7ec-4f6cf2b41109
* listxattr() can also throw EPERM error if not supported.owsla2007-07-111-1/+2
| | | | git-svn-id: http://svn.savannah.nongnu.org/svn/rdiff-backup/trunk@820 2b77aa54-bcbc-44c9-a7ec-4f6cf2b41109
* Make sure isincfile() always sets inc_compressedowsla2007-07-111-4/+3
| | | | git-svn-id: http://svn.savannah.nongnu.org/svn/rdiff-backup/trunk@819 2b77aa54-bcbc-44c9-a7ec-4f6cf2b41109