~ubuntu-branches/ubuntu/saucy/deja-dup/saucy

« back to all changes in this revision

Viewing changes to tools/duplicity/DuplicityJob.vala

  • Committer: Package Import Robot
  • Author(s): Michael Terry
  • Date: 2012-10-30 19:03:03 UTC
  • mfrom: (1.2.2)
  • Revision ID: package-import@ubuntu.com-20121030190303-w3fatge63ncm5uiw
Tags: 25.1.1-0ubuntu1
* New upstream release
* debian/control:
  - Use libsecret, not libgnome-keyring
  - Switch to valac-0.18
  - Add various deja-dup-backend-* metapackages to make seeding
    different ones easier for flavors
* debian/tests:
  - Add dep8 test to run upstream test suite against system install
* debian/patches/support-new-u1backend.patch:
  - Support new u1backend in duplicity 0.6.20

Show diffs side-by-side

added added

removed removed

Lines of Context:
243
243
            return; // stop here
244
244
 
245
245
          if (include)
246
 
            all.prepend(so_far); // back up symlink as a leaf element of its path
 
246
            all.append(so_far); // back up symlink as a leaf element of its path
247
247
 
248
248
          // Recurse on the new file (since it could point at a completely
249
249
          // new place, which has its own symlinks in its hierarchy, so we need
274
274
      // Survived symlink gauntlet, add it to list if this is not the original
275
275
      // request (i.e. if this is the final target of a symlink chain)
276
276
      if (seen != null)
277
 
        all.prepend(file);
 
277
        all.append(file);
278
278
    }
279
279
    catch (IOError.NOT_FOUND e) {
280
280
      // Don't bother keeping this file in the list
460
460
            return false;
461
461
          }
462
462
 
463
 
          if (!local_file.has_prefix(slash_home_me))
 
463
          if (!local_file.has_prefix(slash_home_me) &&
 
464
              !(DejaDup.in_testing_mode() && local_file.get_path().has_prefix(Environment.get_tmp_dir())))
464
465
            needs_root = true;
465
466
          
466
467
          try {
1401
1402
    
1402
1403
    var argv = new List<string>();
1403
1404
    foreach (string s in master_argv) argv.append(s);
 
1405
    foreach (string s in this.backend_argv) argv.append(s);
1404
1406
    foreach (string s in argv_extra) argv.append(s);
1405
 
    foreach (string s in this.backend_argv) argv.append(s);
1406
1407
 
1407
1408
    /* Set duplicity into right mode */
1408
1409
    if (argv_entire == null) {