Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 144445 - files ending with ~ in /etc/portage directories should be ignored
Summary: files ending with ~ in /etc/portage directories should be ignored
Status: RESOLVED FIXED
Alias: None
Product: Portage Development
Classification: Unclassified
Component: Enhancement/Feature Requests (show other bugs)
Hardware: All Linux
: High enhancement (vote)
Assignee: Portage team
URL:
Whiteboard:
Keywords: InVCS
Depends on:
Blocks: 147007
  Show dependency tree
 
Reported: 2006-08-19 11:44 UTC by Nick Bowler
Modified: 2007-01-13 06:41 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Nick Bowler 2006-08-19 11:44:12 UTC
Some text editors (i.e. emacs) leave a backup file when you save changes, with filename being the same as the original but ending with a ~.

When using for example a /etc/portage/package.unmask directory, portage takes into account all files in that directory for unmasking... including files ending with ~.  This means if you later remove an entry from one of these files, you either need to save twice or delete the backup - both an inconvenience and defeating the purpose of the backup in the first place.
Comment 1 Zac Medico gentoo-dev 2007-01-11 17:37:13 UTC
This is fixed in svn r5548.
Comment 2 Zac Medico gentoo-dev 2007-01-13 06:41:43 UTC
This has been released in 2.1.2_rc4-r9.