Edgewall Software
Modify

Opened 4 years ago

Closed 4 years ago

Last modified 4 years ago

#12032 closed defect (fixed)

some .py files lacks the svn:eol-style property

Reported by: shunichi.goto@… Owned by: Jun Omae
Priority: low Milestone: 0.12.7
Component: project Version:
Severity: minor Keywords:
Cc:
Release Notes:

Fix missing svn:eol-style property on *.py files.

API Changes:

Description

contrib/l10n_reset_en_GB.py and contrib/l10n_revert_lineno_conflicts.py do not have svn:eol-style=native property others have. This is not so important thing, but bad thing for mirrored hg reposiotry users with eol extension because their statuses are always 'modified' even if after hg revert -a.

Attachments (0)

Change History (3)

comment:1 Changed 4 years ago by Jun Omae

Component: contribproject
Owner: set to Jun Omae
Status: newassigned

Thanks for the reporting! We should set svn:eol-style property to native for all *.py files. Currently, the property automatically is set native for when adding new files using svn:auto-props since #11324.

The following files don't have svn:eol-style=native property.

$ diff -U0 \
  <(find trunk branches/{1.0,0.12}-stable -name '*.py' | sort) \
  <(find trunk branches/{1.0,0.12}-stable -name '*.py' -exec svn propget svn:eol-style '{}' + | sed -e 's# - native$##' | sort) \
  | sed -n '/^[-+][tb]/ { s/^[-+]//; p }'
branches/0.12-stable/contrib/l10n_reset_en_GB.py
branches/1.0-stable/contrib/l10n_reset_en_GB.py
branches/1.0-stable/contrib/l10n_revert_lineno_conflicts.py
branches/1.0-stable/tracopt/versioncontrol/git/__init__.py
branches/1.0-stable/tracopt/versioncontrol/__init__.py
branches/1.0-stable/trac/ticket/batch.py
trunk/contrib/l10n_reset_en_GB.py
trunk/contrib/l10n_revert_lineno_conflicts.py
trunk/trac/notification/api.py
trunk/trac/notification/compat.py
trunk/trac/notification/__init__.py
trunk/trac/notification/mail.py
trunk/trac/notification/model.py
trunk/trac/notification/prefs.py
trunk/tracopt/versioncontrol/git/__init__.py
trunk/tracopt/versioncontrol/__init__.py
trunk/trac/ticket/batch.py
trunk/trac/upgrades/db34.py
trunk/trac/upgrades/db35.py
trunk/trac/upgrades/db40.py

comment:2 Changed 4 years ago by Jun Omae

Milestone: 0.12.7
Release Notes: modified (diff)
Resolution: fixed
Status: assignedclosed

Added svn:eol-style property in [13982:13985].

comment:3 Changed 4 years ago by Peter Suter

I now upgraded my SVN client, so it should observe svn:auto-props in the future. Sorry for the trouble.

Modify Ticket

Change Properties
Set your email in Preferences
Action
as closed The owner will remain Jun Omae.
The resolution will be deleted.
to The owner will be changed from Jun Omae to the specified user.

Add Comment


E-mail address and name can be saved in the Preferences .
 
Note: See TracTickets for help on using tickets.